Skip to content

Commit a6551ef

Browse files
committed
get back forgotten stuff
1 parent 33284a5 commit a6551ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docker_publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,15 @@ jobs:
7676
with:
7777
registry-type: public
7878

79-
- name: define env vars
79+
- name: Set container registry env vars
8080
run: |
81-
if [ ${{ matrix.registry }} == 'ecr' ]; then
81+
if [ "${{ matrix.registry }}" == "ecr" ]; then
8282
echo "REGISTRY=${{ vars.ECR_REGISTRY }}" >> $GITHUB_ENV
83+
echo "REPOSITORY=$(basename ${{ github.repository }})" >> $GITHUB_ENV
8384
else
8485
echo "REGISTRY=${{ matrix.registry }}" >> $GITHUB_ENV
86+
echo "REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
8587
fi
86-
echo "REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
8788
8889
- name: Push images to ${{ matrix.registry }}
8990
run: |

0 commit comments

Comments
 (0)