Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Fix image release workflow (#27)
Browse files Browse the repository at this point in the history
* Specify image tag correctly

See: https://github.com/storageos/init/actions/runs/2033605430

* Rename file
  • Loading branch information
DavidMarchant authored Mar 24, 2022
1 parent 9f70ad9 commit 4c275dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
uses: actions/checkout@v2
- name: Set image tag env var
# Refer https://stackoverflow.com/a/58178121 for git tag extraction.
run: echo "IMAGE=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
run: echo "IMAGE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set image env vars
run: |
echo "IMAGE=storageos/init:${{ env.OPERATOR_IMAGE_TAG }}" >> $GITHUB_ENV
echo "IMAGE=storageos/init:${{ env.IMAGE_TAG }}" >> $GITHUB_ENV
- name: Login to docker container registry
uses: docker/login-action@v1
with:
Expand Down

0 comments on commit 4c275dd

Please sign in to comment.