Fix GitHub action

pull/1/head
Stefano Ortolani 2023-09-15 12:20:19 +01:00
parent 5a3d5a9e0a
commit f2a276e194
1 changed files with 1 additions and 1 deletions

View File

@ -26,6 +26,6 @@ jobs:
# Initialize variables
DOCKER_IMG_TAG=`echo "${{ github.sha }}" | cut -c 1-7`
# Create the environment
sed -e '/^[[:space:]]*$/d' -e '/[#@]/d' -e 's/\(^[^=]*\)=\(.*\)/\1="\2"/' template.env > env.hcl
sed -e '/^[[:space:]]*$/d' -e '/[#@]/d' -e 's/\"//g' -e 's/\(^[^=]*\)=\(.*\)/\1="\2"/' template.env > env.hcl
# Build and Push
DOCKER_IMG_TAG=$DOCKER_IMG_TAG docker buildx bake -f docker-bake.hcl -f env.hcl