Skip to content
Snippets Groups Projects
Commit 5837397c authored by Maksym Trofimenko's avatar Maksym Trofimenko
Browse files

fix missing image name

parent 8d7933f1
Branches
Tags
No related merge requests found
......@@ -50,20 +50,10 @@ jobs:
env_name: ${{ env.ENV_NAME }}
tag_name: ${{ env.TAG_NAME }}
steps:
- name: Export Variables
run: echo "DATETIME=$(date +%s)" >> $GITHUB_ENV
- name: Staging (merge)
if: github.event_name != 'pull_request' && github.ref_name == 'main'
run: |
echo "ENV_NAME=staging" >> "$GITHUB_ENV"
echo "TAG_NAME=staging-${{ env.DATETIME }}" >> "$GITHUB_ENV"
- name: Staging (PR)
if: github.event_name == 'pull_request' && github.head_ref == 'main'
- name: Staging
run: |
echo "ENV_NAME=staging" >> "$GITHUB_ENV"
echo "TAG_NAME=staging-${{ env.DATETIME }}" >> "$GITHUB_ENV"
echo "TAG_NAME=${GITHUB_REF#refs/*/}" >> "$GITHUB_ENV"
- name: Release Tag
if: startsWith(github.event.ref, 'refs/tags/v')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment