Fix Github action

This commit is contained in:
tchapi 2022-11-26 22:36:18 +01:00
parent d9273a3bdf
commit bb1e4566c7

View File

@ -25,9 +25,9 @@ jobs:
if [ "${{ github.event_name }}" = "push" ]; then
TAGS="$TAGS,${REPOSITORY}/${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
fi
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1