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

Commit 4c275dd

Browse files
Fix image release workflow (#27)
* Specify image tag correctly See: https://github.com/storageos/init/actions/runs/2033605430 * Rename file
1 parent 9f70ad9 commit 4c275dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/releas-image.yml renamed to .github/workflows/release-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
uses: actions/checkout@v2
1515
- name: Set image tag env var
1616
# Refer https://stackoverflow.com/a/58178121 for git tag extraction.
17-
run: echo "IMAGE=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
17+
run: echo "IMAGE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1818
- name: Set image env vars
1919
run: |
20-
echo "IMAGE=storageos/init:${{ env.OPERATOR_IMAGE_TAG }}" >> $GITHUB_ENV
20+
echo "IMAGE=storageos/init:${{ env.IMAGE_TAG }}" >> $GITHUB_ENV
2121
- name: Login to docker container registry
2222
uses: docker/login-action@v1
2323
with:

0 commit comments

Comments
 (0)