Skip to content

Commit

Permalink
build: minimize the race condition time
Browse files Browse the repository at this point in the history
  • Loading branch information
yacoob committed Nov 12, 2024
1 parent 4c8d40c commit 5fadef0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
id: registry
run: |
skopeo inspect --raw docker://ghcr.io/ublue-os/aurora-dx:stable | jq '.config.digest' > latest_base_image_sha
- name: Save SHA of the current base image as an artifact
uses: actions/upload-artifact@v4
with:
path: latest_base_image_sha
name: latest_base_image_sha
retention-days: 90
- name: Build Custom Image
uses: blue-build/github-action@v1.7
with:
Expand All @@ -42,3 +36,9 @@ jobs:
registry_token: ${{ github.token }}
pr_event_number: ${{ github.event.number }}
maximize_build_space: false
- name: Save SHA of the current base image as an artifact
uses: actions/upload-artifact@v4
with:
path: latest_base_image_sha
name: latest_base_image_sha
retention-days: 90

0 comments on commit 5fadef0

Please sign in to comment.