Compare commits
8 Commits
66d89c0be3
...
61793f5ffb
| Author | SHA1 | Date | |
|---|---|---|---|
| 61793f5ffb | |||
| a3f1cafc4e | |||
| a869d718ef | |||
| 00701b9293 | |||
| ea4bdaa3b7 | |||
| 0363743e10 | |||
| 039896ae2b | |||
| 6f995b74a4 |
@@ -1,15 +1,18 @@
|
|||||||
on: [push]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-images:
|
build-images:
|
||||||
runs-on: host-arch-x86_64
|
runs-on: host-arch-x86_64
|
||||||
steps:
|
steps:
|
||||||
|
- name: Debug print
|
||||||
|
run: echo '${{ toJson(gitea) }}'
|
||||||
|
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||||
|
|
||||||
- name: Build GCC container
|
- name: Build GCC container
|
||||||
working-directory: test5
|
working-directory: test5
|
||||||
run: docker build . -f Dockerfile -t local/alpine-gcc:latest
|
run: docker build . -f Dockerfile -t local/alpine-gcc-${{gitea.ref_name}}:latest
|
||||||
|
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: host-arch-x86_64
|
runs-on: host-arch-x86_64
|
||||||
@@ -22,4 +25,4 @@ jobs:
|
|||||||
- run: ls -lh test5
|
- run: ls -lh test5
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: docker run -it --rm -v ./test5:/app local/alpine-gcc:latest
|
run: docker run -it --rm -v ./test5:/app local/alpine-gcc-${{gitea.ref_name}}:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user