Skip to content

Commit

Permalink
Try fix (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grunet authored Jul 13, 2023
1 parent 0cc1073 commit d21553a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/release-honeypot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Needed because my Github account name contains an uppercase character which isn't allowed in a docker tag (and doesn't match the tags generated by the previous action)
# See https://github.com/orgs/community/discussions/25768 for more details
- name: Downcase account name and generate version Docker tag
id: get-version-tag
run: |
unmodifiedTag=${{ env.REGISTRY}}/${{ env.IMAGE_NAME }}:v${{ steps.get-version.outputs.releaseVersion }}
fullyLowercaseTag=${unmodifiedTag,,}
echo "tag=$fullyLowercaseTag" >> "$GITHUB_OUTPUT"
# Build and push Docker image with Buildx
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand All @@ -75,7 +85,7 @@ jobs:
push: true
tags: |
${{ steps.meta.outputs.tags }}
${{ env.REGISTRY}}/${{ env.IMAGE_NAME }}:v${{ steps.get-version.outputs.releaseVersion }}
${{ steps.get-version-tag.outputs.tag }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
4 changes: 4 additions & 0 deletions packages/honeypot/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ What is in scope for breaking changes includes

## Changes

### v0.2.2

- Try fix another issue with the casing of the docker tag in the release workflow

### v0.2.1

- Try fix issue with docker tag in release workflow
Expand Down
2 changes: 1 addition & 1 deletion packages/honeypot/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.2.1"
"version": "0.2.2"
}

0 comments on commit d21553a

Please sign in to comment.