Skip to content

Commit

Permalink
docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzu committed Nov 27, 2024
1 parent 28abf65 commit 16da08c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ incus | 1:6.6-debian12-202411092101 | https://pkgs.zabbly.com/incus/stable bookw

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

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} .`

await $`docker push ${image}`
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} .`
}
})().catch(err => {
throw err;
Expand Down

0 comments on commit 16da08c

Please sign in to comment.