Updated elgohr/Publish-Docker-Github-Action to a supported version (v5)

This commit is contained in:
Lars Gohr 2023-03-30 21:54:25 +02:00
parent 8ea33efc7f
commit 782f98bb87
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ jobs:
echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//" | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
echo REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}' | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: ${{ env.REPOSITORY_OWNER }}/${{ env.REPOSITORY_NAME }}
username: ${{ secrets.DOCKER_USERNAME }}