Skip to content

Commit

Permalink
Revert "fix(ci/cd): Update the way to retrieve last tag in github wor…
Browse files Browse the repository at this point in the history
…kflow /2"

This reverts commit c9a8b98.
  • Loading branch information
annelhote committed Oct 3, 2024
1 parent c9a8b98 commit 899cf9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
IMAGE_ID=ghcr.io/${{ github.repository }}
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
docker push -a $IMAGE_ID
docker push --all-tags $IMAGE_ID
release:
name: Create new Github release
Expand All @@ -50,7 +50,7 @@ jobs:

- name: 🏷️ Get tag
id: tag
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
run: echo "tag=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT

- name: Create changelog text
id: changelog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: 🏷️ Get tag
id: tag
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
run: echo "tag=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT

- name: 🐋 Build Docker image
run: |
Expand Down

0 comments on commit 899cf9f

Please sign in to comment.