Skip to content

Commit 110de73

Browse files
committed
change CI container tagging
Signed-off-by: DavidSpek <[email protected]>
1 parent 9609583 commit 110de73

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/goreleaser-ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
permissions:
3636
contents: 'read'
3737
id-token: 'write'
38-
needs: goreleaser
3938
steps:
4039
- name: Checkout
4140
uses: actions/checkout@v2
@@ -50,7 +49,7 @@ jobs:
5049
ghcr.io/pluralsh/plural-cli
5150
# generate Docker tags based on the following events/attributes
5251
tags: |
53-
type=semver,pattern={{raw}},value=${{ needs.goreleaser.outputs.metadata.version }}
52+
type=semver,pattern={{version}}
5453
- name: Set up QEMU
5554
uses: docker/setup-qemu-action@v1
5655
- name: Set up Docker Buildx
@@ -90,7 +89,6 @@ jobs:
9089
permissions:
9190
contents: 'read'
9291
id-token: 'write'
93-
needs: goreleaser
9492
steps:
9593
- name: Checkout
9694
uses: actions/checkout@v2
@@ -100,12 +98,12 @@ jobs:
10098
with:
10199
# list of Docker images to use as base name for tags
102100
images: |
103-
dkr.plural.sh/plural/plural-cli
104-
gcr.io/pluralsh/plural-cli
105-
ghcr.io/pluralsh/plural-cli
101+
dkr.plural.sh/plural/plural-cli-cloud
102+
gcr.io/pluralsh/plural-cli-cloud
103+
ghcr.io/pluralsh/plural-cli-cloud
106104
# generate Docker tags based on the following events/attributes
107105
tags: |
108-
type=semver,pattern={{raw}},value=${{ needs.goreleaser.outputs.metadata.version }}-cloud
106+
type=semver,pattern={{version}}
109107
- name: Set up QEMU
110108
uses: docker/setup-qemu-action@v1
111109
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)