ci: Push the multi-arch image for specific tag (#7345)

The latest changes made the CI to only build the images for different
archs, but not push for the tag value of the commit.

While next steps, for pushing the latest tag or a release version tag
will work we still want to ensure we push an image with a tag.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@gmail.com>
This commit is contained in:
Kimonas Sotirchos 2023-10-15 23:21:53 +03:00 коммит произвёл GitHub
Родитель a6da3678bd
Коммит b6d5540f52
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
10 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -46,6 +46,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

1
.github/workflows/jwa_docker_publish.yaml поставляемый
Просмотреть файл

@ -47,6 +47,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

1
.github/workflows/kfam_docker_publish.yaml поставляемый
Просмотреть файл

@ -46,6 +46,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

Просмотреть файл

@ -47,6 +47,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

Просмотреть файл

@ -46,6 +46,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

Просмотреть файл

@ -46,6 +46,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

Просмотреть файл

@ -44,6 +44,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

Просмотреть файл

@ -46,6 +46,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

1
.github/workflows/twa_docker_publish.yaml поставляемый
Просмотреть файл

@ -47,6 +47,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'

1
.github/workflows/vwa_docker_publish.yaml поставляемый
Просмотреть файл

@ -47,6 +47,7 @@ jobs:
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch
make docker-build-push-multi-arch
- name: Build and push latest multi-arch docker image
if: github.ref == 'refs/heads/master'