mirror of https://github.com/MISP/misp-docker
Fix GitHub action
parent
5a3d5a9e0a
commit
f2a276e194
|
@ -26,6 +26,6 @@ jobs:
|
||||||
# Initialize variables
|
# Initialize variables
|
||||||
DOCKER_IMG_TAG=`echo "${{ github.sha }}" | cut -c 1-7`
|
DOCKER_IMG_TAG=`echo "${{ github.sha }}" | cut -c 1-7`
|
||||||
# Create the environment
|
# 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
|
# Build and Push
|
||||||
DOCKER_IMG_TAG=$DOCKER_IMG_TAG docker buildx bake -f docker-bake.hcl -f env.hcl
|
DOCKER_IMG_TAG=$DOCKER_IMG_TAG docker buildx bake -f docker-bake.hcl -f env.hcl
|
||||||
|
|
Loading…
Reference in New Issue