Build and push ARM64 docker image (#798)
This commit is contained in:
parent
f4c20a48a0
commit
514b16c417
1 changed files with 9 additions and 1 deletions
10
.github/workflows/build-docker.yml
vendored
10
.github/workflows/build-docker.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build and push
|
||||
- name: Build and push AMD64 Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
|
@ -36,3 +36,11 @@ jobs:
|
|||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: zedeus/nitter:latest,zedeus/nitter:${{ github.sha }}
|
||||
- name: Build and push ARM64 Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile.arm64
|
||||
platforms: linux/arm64
|
||||
push: true
|
||||
tags: zedeus/nitter:latest-arm64,zedeus/nitter:${{ github.sha }}-arm64
|
||||
|
|
Loading…
Reference in a new issue