Update .woodpecker.yml #23

Open
trent wants to merge 58 commits from Warehouses into master
Showing only changes of commit 260897dd87 - Show all commits

View File

@@ -178,16 +178,18 @@ steps:
sed -i "s/PROJECTNAME/${PNAME}/g" "${PDIR}/Dockerfile.temp"
cd "${PDIR}"
docker buildx build \
--platform linux/amd64 \
-t "$(cat /tmp/tag.txt):${CI_COMMIT_SHA}" \
-t "$(cat /tmp/tag.txt):latest" \
-f "${PDIR}/Dockerfile.temp" \
"${PDIR}"
-f "Dockerfile.temp" \
.
docker push "$(cat /tmp/tag.txt):${CI_COMMIT_SHA}"
docker push "$(cat /tmp/tag.txt):latest"
rm -f "${PDIR}/Dockerfile.temp"
rm -f "Dockerfile.temp"
cd "${CI_WORKSPACE}"
done
depends_on: [select-projects-for-container]