diff --git a/.github/workflows/release-latest.yml b/.github/workflows/release-latest.yml index f6545a2..16d4326 100644 --- a/.github/workflows/release-latest.yml +++ b/.github/workflows/release-latest.yml @@ -20,7 +20,7 @@ jobs: run: | docker compose --file build-docker-compose.yml --env-file template.env build # Tag the image with the commit SHA[0:7] - DOCKER_IMG_TAG=`echo "${{ github.event.pull_request.head.sha }}" | cut -c 1-7` + DOCKER_IMG_TAG=`echo "${{ github.sha }}" | cut -c 1-7` docker tag ${{ secrets.DOCKER_USERNAME }}/misp-docker:core-latest ${{ secrets.DOCKER_USERNAME }}/misp-docker:core-$DOCKER_IMG_TAG docker tag ${{ secrets.DOCKER_USERNAME }}/misp-docker:modules-latest ${{ secrets.DOCKER_USERNAME }}/misp-docker:modules-$DOCKER_IMG_TAG