Skip to content

Commit 2b1bc7a

Browse files
fix(ci): remove v from docker version tag
1 parent e6781e6 commit 2b1bc7a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
echo "Using DOCKER_REPOSITORY=${DOCKER_REPOSITORY}"
4343
echo "DOCKER_REPOSITORY=${DOCKER_REPOSITORY}" >> $GITHUB_ENV
4444
45+
DOCKER_TAG="${RELEASE_TAG:1}"
46+
echo "Using DOCKER_TAG=${DOCKER_TAG}"
47+
echo "DOCKER_TAG=${DOCKER_TAG}" >> $GITHUB_ENV
48+
4549
- name: 'Initialize Chef Habitat environment'
4650
uses: JarvusInnovations/habitat-action@action/v1
4751
with:
@@ -67,7 +71,7 @@ jobs:
6771
password: ${{ secrets.GITHUB_TOKEN }}
6872
registry: ${{ env.DOCKER_REGISTRY }}
6973
image_name: ${{ env.DOCKER_REPOSITORY }}/${{ env.DOCKER_PACKAGE }}
70-
image_tag: ${{ env.RELEASE_TAG }}
74+
image_tag: ${{ env.DOCKER_TAG }}
7175
build_extra_args: |
7276
--build-arg=SITE_TREE=${{ steps.site-projection.outputs.tree }}
7377
--build-arg=SITE_VERSION=${{ env.RELEASE_TAG }}

0 commit comments

Comments
 (0)