Skip to content

Commit

Permalink
feat: Add if conditions to release pipeline (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty93 authored Mar 5, 2024
1 parent dadd6a9 commit 707d714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Docker buildx
if: steps.release.outputs.new_release_published == 'true'
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0

- name: Log in to the Container registry
Expand All @@ -54,6 +55,7 @@ jobs:

- name: Docker meta
uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c # v5.5.0
if: steps.release.outputs.new_release_published == 'true'
id: meta
with:
images: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

FROM deps-kube AS deps-yq
ENV YQ_VERSION="${ENV_YQ_VERSION:-v4.30.6}"
ENV YQ_VERSION="v4.30.6"
ENV YQ_BINARY="yq_linux_amd64"
RUN wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/${YQ_BINARY}.tar.gz -O - | tar xz && mv ${YQ_BINARY} /usr/bin/yq

Expand Down

0 comments on commit 707d714

Please sign in to comment.