Skip to content

Commit 34320f3

Browse files
authored
Merge pull request #102 from dockersamples/fix-dev-published-compose-files
Use the :dev tag for all images for main branch publishing
2 parents a52b0e8 + 3a0ca09 commit 34320f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
docker compose version
5656
5757
if [[ "${GITHUB_REF}" == "refs/heads/main" ]]; then
58+
sed -i "s/:latest/:dev/g" compose.run.yaml
59+
sed -i "s/:latest/:dev/g" compose.content-dev.yaml
5860
echo "y" | docker compose -f compose.run.yaml publish dockersamples/labspace:dev --with-env -y
5961
echo "y" | docker compose -f compose.content-dev.yaml publish dockersamples/labspace-content-dev:dev --with-env -y
6062
else

0 commit comments

Comments
 (0)