Update docker-image-armv8.yml

This commit is contained in:
Mateusz Kaczanowski 2020-11-08 10:58:32 +01:00 committed by GitHub
parent ee5a726f65
commit 220a30d044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,19 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Fetch additional packages
run: sudo apt-get update && sudo apt-get install qemu-user-static qemu binfmt-support
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Build the Docker image
run: docker build . --file Dockerfile.armv8 --tag mkaczanowski/pastebin:armv8
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: mkaczanowski/pastebin:armv8
file: Dockerfile.armv8