-
-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
826f1c9
commit 4d10440
Showing
2 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,6 @@ jobs: | |
release: | ||
name: Build & Release | ||
# Only run on tags | ||
if: startsWith(github.ref, 'refs/tags/') | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
# Setup | ||
|
@@ -142,16 +141,16 @@ jobs: | |
type=ref,event=pr | ||
type=sha | ||
# Build and Push container images | ||
- name: Build & Push Images | ||
uses: docker/bake-action@v1 | ||
- name: Build Images | ||
uses: docker/bake-action@v1.7.0 | ||
with: | ||
files: | | ||
./docker-bake.hcl | ||
${{ steps.meta-k3d-binary.outputs.bake-file }} | ||
${{ steps.meta-k3d-dind.outputs.bake-file }} | ||
${{ steps.meta-k3d-proxy.outputs.bake-file }} | ||
${{ steps.meta-k3d-tools.outputs.bake-file }} | ||
targets: release | ||
targets: binary,dind,proxy,tools | ||
push: false | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected] | ||
|
@@ -160,14 +159,15 @@ jobs: | |
check-name: "Full Test Suite" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 20 | ||
- name: Build & Push Images | ||
uses: docker/bake-action@v1 | ||
- name: Push Images | ||
if: startsWith(github.ref, 'refs/tags/') | ||
uses: docker/[email protected] | ||
with: | ||
files: | | ||
./docker-bake.hcl | ||
${{ steps.meta-k3d-binary.outputs.bake-file }} | ||
${{ steps.meta-k3d-dind.outputs.bake-file }} | ||
${{ steps.meta-k3d-proxy.outputs.bake-file }} | ||
${{ steps.meta-k3d-tools.outputs.bake-file }} | ||
targets: build | ||
targets: binary,dind,proxy,tools | ||
push: false # TODO: change to true on release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters