More tweaks
All checks were successful
Docker Image Build Pipeline / Cleanup-Old-Artifacts (push) Successful in 0s
Docker Image Build Pipeline / Check-Environment (push) Successful in 1s
Docker Image Build Pipeline / Clone-Repo (push) Successful in 1s
Docker Image Build Pipeline / Build-Images (push) Successful in 2m7s
Docker Image Build Pipeline / Push-Images (push) Successful in 1m42s
Docker Image Build Pipeline / Cleanup-Build-Images (push) Successful in 0s
Docker Image Build Pipeline / Cleanup-Docker-Login (push) Successful in 0s
All checks were successful
Docker Image Build Pipeline / Cleanup-Old-Artifacts (push) Successful in 0s
Docker Image Build Pipeline / Check-Environment (push) Successful in 1s
Docker Image Build Pipeline / Clone-Repo (push) Successful in 1s
Docker Image Build Pipeline / Build-Images (push) Successful in 2m7s
Docker Image Build Pipeline / Push-Images (push) Successful in 1m42s
Docker Image Build Pipeline / Cleanup-Build-Images (push) Successful in 0s
Docker Image Build Pipeline / Cleanup-Docker-Login (push) Successful in 0s
This commit is contained in:
parent
026977bf27
commit
41ed3cdd27
@ -6,11 +6,23 @@ on:
|
||||
- release
|
||||
|
||||
jobs:
|
||||
Check-Environment:
|
||||
Cleanup-Old-Artifacts:
|
||||
runs-on: self-hosted
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /home/builds/src/ansible-dev
|
||||
working-directory: /home/builds/src
|
||||
|
||||
steps:
|
||||
- name: Cleanup old code
|
||||
run: rm -rfv *
|
||||
|
||||
|
||||
Check-Environment:
|
||||
runs-on: self-hosted
|
||||
needs: [Cleanup-Old-Artifacts]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /home/builds/src
|
||||
|
||||
steps:
|
||||
- name: Environment check
|
||||
@ -22,10 +34,23 @@ jobs:
|
||||
env && echo
|
||||
docker info && echo
|
||||
|
||||
- name: Verify current commit
|
||||
|
||||
Clone-Repo:
|
||||
runs-on: self-hosted
|
||||
needs: [Check-Environment]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /home/builds/src
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
run: |
|
||||
git clone https://gitea.thezengarden.net/podman/ansible-dev.git
|
||||
cd ansible-dev
|
||||
git checkout ${{ env.GITHUB_REF_NAME }}
|
||||
git log -1
|
||||
|
||||
- name: Verify current commit
|
||||
run: cd ansible-dev && git log -1
|
||||
|
||||
|
||||
Build-Images:
|
||||
|
Loading…
x
Reference in New Issue
Block a user