Skip to content

Commit

Permalink
Override docker image for v0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Dec 20, 2023
1 parent 623756e commit f534618
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/cd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: Create and publish a Docker image
on:
push:
tags: [ 'v*.*.*' ]
pull_request:

env:
REGISTRY: ghcr.io
Expand All @@ -34,6 +35,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Remove Docker Tag
uses: rafalkk/remove-dockertag-action@v1
with:
tag_name: v0.18.0
github_token: ${{ secrets.GITHUB_TOKEN }}
is_organization: true

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
Expand All @@ -46,5 +54,5 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: v0.18.0
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit f534618

Please sign in to comment.