Skip to content

Commit 16da08c

Browse files
committed
docker push
1 parent 28abf65 commit 16da08c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/tags.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ incus | 1:6.6-debian12-202411092101 | https://pkgs.zabbly.com/incus/stable bookw
2626

2727
for (const version of versions) {
2828
const incusVersion = version.split(':')[1].split('-')[0] // 1:6.7-debian12-202411151825 -> 6.7
29-
const image = `ghcr.io/${process.env.IMAGE_NAME}-${baseImage}-${incusVersion}-${dateStr}`
29+
const image = `ghcr.io/${process.env.IMAGE_NAME}-${process.env.BASE_IMAGE}-${incusVersion}-${dateStr}`
3030

31-
await $`docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE_IMAGE=${process.env.BASE_IMAGE} --build-arg INCUS_VERSION=${version} -f ./debian-version/Dockerfile -t ${image} .`
32-
33-
await $`docker push ${image}`
31+
await $`docker buildx build --platform linux/amd64,linux/arm64 --push --build-arg BASE_IMAGE=${process.env.BASE_IMAGE} --build-arg INCUS_VERSION=${version} -f ./debian-version/Dockerfile -t ${image} .`
3432
}
3533
})().catch(err => {
3634
throw err;

0 commit comments

Comments
 (0)