Build and push ARM64 docker image (#798)

This commit is contained in:
Émilien Devos (perso) 2023-02-26 15:06:52 +01:00 committed by GitHub
parent f4c20a48a0
commit 514b16c417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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