Skip to content

Commit

Permalink
Update publish-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch1024 authored Jun 6, 2024
1 parent 52c7771 commit dee4e5d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
environment: production

steps:
- name: Get Tag ENV
run: echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV
- name: Build and Push Docker Image
run: |
echo $GITHUB_REF_NAME
echo $GITHUB_REF
echo $GITHUB_SHA
echo "Environment: ${{ github.ref == 'refs/heads/stage' && GITHUB_SHA || GITHUB_REF_NAME }}"
echo "Version: ${{ github.ref == 'refs/heads/stage' && github.sha || env.VERSION }}"

0 comments on commit dee4e5d

Please sign in to comment.