mirror of
https://github.com/b4tman/armhf-alpine-qemu.git
synced 2024-12-04 17:16:53 +00:00
commit
e7d6ab6760
17
.github/workflows/dockerimage.yml
vendored
17
.github/workflows/dockerimage.yml
vendored
@ -14,9 +14,18 @@ jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag b4tman/armhf-alpine-qemu:$(date +%s)
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build image
|
||||
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
|
||||
env:
|
||||
DOCKER_BUILDKIT: 0
|
||||
run: docker build --force-rm -t tmp/test1 -f test/Dockerfile test
|
||||
|
8
test/Dockerfile
Normal file
8
test/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM b4tman/armhf-alpine-qemu:test
|
||||
|
||||
RUN [ "cross-build-start" ]
|
||||
|
||||
RUN sh -exc "[ \"armv7l\" = `uname -m` ]"
|
||||
|
||||
RUN [ "cross-build-end" ]
|
||||
|
Loading…
Reference in New Issue
Block a user