fix: Checkout proper versions when building on main vs a PR

This commit is contained in:
Gerald Pinder 2024-03-11 19:16:30 -04:00
parent bf6ce3f650
commit c084592934
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ jobs:
# Setup repo and add caching # Setup repo and add caching
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
ref: main ref: ${{ github.event.pull_request.ref }}
- name: Run integration tests - name: Run integration tests
if: github.repository == 'blue-build/cli' if: github.repository == 'blue-build/cli'

View file

@ -118,7 +118,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.ref }} ref: main
- name: Install bluebuild - name: Install bluebuild
env: env:

View file

@ -42,7 +42,7 @@ template-containerfile:
template-secureblue: template-secureblue:
ARG NIGHTLY=false ARG NIGHTLY=false
FROM +secureblue-base --NIGHTLY=$NIGHTLY FROM +secureblue-base --NIGHTLY=$NIGHTLY
RUN bluebuild -vv template -o Containerfile config/recipes/desktop/recipe-silverblue-nvidia.yml RUN bluebuild -vv template -o Containerfile config/recipes/general/recipe-silverblue-nvidia.yml
SAVE ARTIFACT /test SAVE ARTIFACT /test