We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a84d872 commit fac44e2Copy full SHA for fac44e2
1 file changed
.github/workflows/build-beeapi-container.yml
@@ -0,0 +1,33 @@
1
+name: Build and Deploy BeeAPI Container
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build-and-deploy:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
+ id-token: write
15
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v2
19
20
+ - name: Set up Docker Buildx
21
+ uses: docker/setup-buildx-action@v1
22
23
+ - name: Log in to GitHub Container Registry
24
+ uses: docker/login-action@v1
25
+ with:
26
+ registry: ghcr.io
27
+ username: ${{ github.actor }}
28
+ password: ${{ secrets.GITHUB_TOKEN }}
29
30
+ - name: Build and push Docker image
31
+ run: |
32
+ docker buildx build --push \
33
+ --tag ghcr.io/algoHive-coding-puzzles/beeapi:latest .
0 commit comments