We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206097a commit b5c73c8Copy full SHA for b5c73c8
.github/workflows/main.yml
@@ -0,0 +1,26 @@
1
+name: ci
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Login to Docker Hub
13
+ uses: docker/login-action@v3
14
+ with:
15
+ username: ${{ vars.DOCKER_USERNAME }}
16
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
17
18
+ - name: Set up Docker Buildx
19
+ uses: docker/setup-buildx-action@v3
20
21
+ - name: Build and push
22
+ uses: docker/build-push-action@v6
23
24
+ platforms: linux/amd64,linux/arm64
25
+ push: true
26
+ tags: ${{ vars.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest
0 commit comments