Skip to content

Commit

Permalink
Update tag env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchariGr committed Aug 15, 2024
1 parent 3217b33 commit b802048
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Set image_tag
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "IMAGE_TAG=${TAG_NAME}" >> $GITHUB_ENV
echo "image_tag=${{ env.IMAGE_TAG }}" >> $GITHUB_OUTPUT
echo "IMAGE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
echo "image_tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Set is_newest_version
id: rasa_sdk_get_version
Expand Down Expand Up @@ -71,6 +71,7 @@ jobs:
- name: Set environment variables
run: |
echo "IMAGE_TAG=${{ needs.build_docker_image_set_env.outputs.image_tag }}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF#refs/tags/}"
- name: Login to Docker Hub Registry 🔢
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin || true
Expand All @@ -81,7 +82,7 @@ jobs:
# Push image
IMAGE_NAME=rasa/rasa-sdk \
IMAGE_TAG=${IMAGE_TAG} \
IMAGE_TAG=${GITHUB_REF#refs/tags/} \
make build-and-push-multi-platform-docker
# Tag the image as latest
Expand Down

0 comments on commit b802048

Please sign in to comment.