Skip to content

Commit a0c4381

Browse files
authored
Add files via upload
1 parent aca3e1c commit a0c4381

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
13+
registry: ghcr.io
14+
username: ${{ github.repository_owner }}
15+
password: ${{ secrets.GITHUB_TOKEN }}
16+
- uses: docker/login-action@v1
17+
if: 0
18+
with:
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

Comments
 (0)