Update docker-image-armv8.yml
This commit is contained in:
parent
ee5a726f65
commit
220a30d044
1 changed files with 16 additions and 5 deletions
19
.github/workflows/docker-image-armv8.yml
vendored
19
.github/workflows/docker-image-armv8.yml
vendored
|
@ -12,8 +12,19 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Fetch additional packages
|
- name: Set up QEMU
|
||||||
run: sudo apt-get update && sudo apt-get install qemu-user-static qemu binfmt-support
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
- name: Build the Docker image
|
- name: Login to DockerHub
|
||||||
run: docker build . --file Dockerfile.armv8 --tag mkaczanowski/pastebin:armv8
|
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
|
||||||
|
|
Loading…
Reference in a new issue