Skip to content

Commit a840873

Browse files
committed
fix: force image generation
1 parent 8989412 commit a840873

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow builds and pushes a Docker image to GitHub Container Registry (ghcr.io)
2-
# whenever a new release is published.
3-
41
name: Publish Docker image to GHCR
52

63
on:
@@ -30,13 +27,13 @@ jobs:
3027
username: ${{ github.actor }}
3128
password: ${{ secrets.GITHUB_TOKEN }}
3229

33-
- name: Extract release tag
34-
id: extract_tag
35-
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
30+
# - name: Extract release tag
31+
# id: extract_tag
32+
# run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
3633

3734
- name: Build and push Docker image
3835
uses: docker/build-push-action@v5
3936
with:
4037
context: .
4138
push: true
42-
tags: ghcr.io/${{ github.repository }}:${{ env.RELEASE_TAG }}
39+
tags: ghcr.io/${{ github.repository }}:v0.1.0

0 commit comments

Comments
 (0)