We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aca3e1c commit a0c4381Copy full SHA for a0c4381
1 file changed
.github/workflows/docker-build.yml
@@ -0,0 +1,24 @@
1
+name: build
2
+on:
3
+ push:
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ with:
10
+ fetch-depth: 0
11
+ - uses: docker/login-action@v1
12
13
+ registry: ghcr.io
14
+ username: ${{ github.repository_owner }}
15
+ password: ${{ secrets.GITHUB_TOKEN }}
16
17
+ if: 0
18
19
+ username: voidic
20
+ password: ${{ secrets.DOCKER_HUB_TOKEN }}
21
+ - uses: docker/setup-qemu-action@v1
22
+ - uses: docker/setup-buildx-action@v1
23
+ - name: Build the Docker image
24
+ run: docker buildx build -t ghcr.io/${{ github.repository_owner }}/strfry:latest --platform linux/amd64 --platform linux/arm64 --push .
0 commit comments