mirror of
https://github.com/b4tman/armhf-alpine-qemu.git
synced 2024-12-04 17:16:53 +00:00
use docker/build-push-action
This commit is contained in:
parent
b6b2fc3727
commit
aa4a1dc7bd
13
.github/workflows/dockerimage.yml
vendored
13
.github/workflows/dockerimage.yml
vendored
@ -17,10 +17,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build the Docker image
|
- name: Build image
|
||||||
run: docker build . --file Dockerfile --tag b4tman/armhf-alpine-qemu:test
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: false
|
||||||
|
tags: b4tman/armhf-alpine-qemu:test
|
||||||
|
outputs: type=image,name=b4tman/armhf-alpine-qemu:test,push=false
|
||||||
- name: Test image
|
- name: Test image
|
||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 0
|
DOCKER_BUILDKIT: 0
|
||||||
run: docker build -t tmp/test1 -f test/Dockerfile test
|
run: docker build --force-rm -t tmp/test1 -f test/Dockerfile test
|
||||||
|
Loading…
Reference in New Issue
Block a user