Skip to content

Commit

Permalink
Update if clause for pushing preview images
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpittwood committed Apr 8, 2024
1 parent 7df68cb commit a3de06c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-bake-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,14 @@ jobs:
- name: Push
id: push
if: github.ref == 'refs/heads/main'
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/dev-rspm' }}
uses: docker/bake-action@v4
env:
WORKBENCH_DAILY_VERSION: ${{ steps.get-version.outputs.WORKBENCH_DAILY_VERSION }}
WORKBENCH_PREVIEW_VERSION: ${{ steps.get-version.outputs.WORKBENCH_PREVIEW_VERSION }}
PACKAGE_MANAGER_DAILY_VERSION: ${{ steps.get-version.outputs.PACKAGE_MANAGER_DAILY_VERSION }}
CONNECT_DAILY_VERSION: ${{ steps.get-version.outputs.CONNECT_DAILY_VERSION }}
BRANCH: ${{ github.head_ref || github.ref_name }}
with:
set: |
*.cache-from=type=gha
Expand Down

0 comments on commit a3de06c

Please sign in to comment.