Skip to content

Commit 0f8a12c

Browse files
committed
Fix tag filter
1 parent b02e383 commit 0f8a12c

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/workflows/build-consumerui.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ jobs:
3131
-
3232
name: Set Version
3333
run: echo "VERSION=$(tail -1 consumerui/versions.txt)" >> $GITHUB_ENV
34-
35-
- name: Dump GitHub context
36-
env:
37-
GITHUB_CONTEXT: ${{ toJson(github) }}
38-
run: echo "$GITHUB_CONTEXT"
39-
4034
-
4135
name: Docker metadata
4236
id: consumerui_meta

.github/workflows/build-deploy.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
name: Set Version
3232
run: echo "VERSION=$(tail -1 deploy/versions.txt)" >> $GITHUB_ENV
3333

34-
- name: Dump GitHub context
35-
env:
36-
GITHUB_CONTEXT: ${{ toJson(github) }}
37-
run: echo "$GITHUB_CONTEXT"
38-
3934
-
4035
name: Docker webhook metadata
4136
id: webhook_tls_getter
@@ -63,7 +58,7 @@ jobs:
6358
images: ${{ secrets.REGISTRY }}/${{ secrets.REGISTRY_USERNAME }}/delete-kubeplus-resources
6459
tags: |
6560
type=raw,value=latest,enable={{is_default_branch}}
66-
type=raw,value=${{env.VERSION}},enable=${{ github.event_name == 'release' && github.event.action == 'created' }}
61+
type=raw,value=${{env.VERSION}},enable=${{ github.event_name == 'release' && github.event.action == 'published' }}
6762
6863
-
6964
name: Build and push delete-kubeplus-resources

0 commit comments

Comments
 (0)