Skip to content

format Dockerfiles

format Dockerfiles #4

Workflow file for this run

name: Build and Push ARM Docker Image
on:
push:
branches:
- arm-docker
jobs:
build-and-push:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Checkout code
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
docker buildx build --platform linux/arm64 -t ghcr.io/paivola-student-innovation-lab/dailycrypt:arm . -f arm.Dockerfile --push
docker push ghcr.io/paivola-student-innovation-lab/dailycrypt:arm