We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33284a5 commit a6551efCopy full SHA for a6551ef
.github/workflows/docker_publish.yml
@@ -76,14 +76,15 @@ jobs:
76
with:
77
registry-type: public
78
79
- - name: define env vars
+ - name: Set container registry env vars
80
run: |
81
- if [ ${{ matrix.registry }} == 'ecr' ]; then
+ if [ "${{ matrix.registry }}" == "ecr" ]; then
82
echo "REGISTRY=${{ vars.ECR_REGISTRY }}" >> $GITHUB_ENV
83
+ echo "REPOSITORY=$(basename ${{ github.repository }})" >> $GITHUB_ENV
84
else
85
echo "REGISTRY=${{ matrix.registry }}" >> $GITHUB_ENV
86
+ echo "REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
87
fi
- echo "REPOSITORY=${{ github.repository }}" >> $GITHUB_ENV
88
89
- name: Push images to ${{ matrix.registry }}
90
0 commit comments