Update docker-image.yml

This commit is contained in:
João Vitória Silva
2023-11-29 14:29:18 +00:00
committed by GitHub
parent fac3e6397f
commit 3067d806d1

View File

@@ -30,7 +30,7 @@ jobs:
- name: Build the Docker image
run: |
if [ "${{ github.event_name }}" == 'workflow_dispatch' ]; then
IMAGE_TAG="dev_$(date +"%Y%m%d")"
export IMAGE_TAG="dev_$(date +"%Y%m%d")"
fi
echo "IMAGE_TAG=${IMAGE_TAG}"
docker build . --file Dockerfile --tag ${{ github.repository }}:$IMAGE_TAG