Skip to content

[Devops-1278] docker build push GHA#3

Merged
p-hoffmann merged 4 commits into
data2evidence:developfrom
alp-os:devops/1278-docker-build-push
Nov 24, 2024
Merged

[Devops-1278] docker build push GHA#3
p-hoffmann merged 4 commits into
data2evidence:developfrom
alp-os:devops/1278-docker-build-push

Conversation

@mwaiyee

@mwaiyee mwaiyee commented Nov 14, 2024

Copy link
Copy Markdown
Contributor

GHA to docker build push Dockerfile in https://github.com/alp-os/trex/blob/develop/build/Dockerfile

Comment thread .github/workflows/docker-build-push.yml Outdated
with:
push: true
platforms: "linux/amd64"
tags: ${{ vars.AZ_REGISTRY_NAME }}.azurecr.io/${{ matrix.AZ_REGISTRY_REPOSITORY }}:${{ steps.setup.outputs.DOCKER_IMG_TAG_NAME }}, ${{ vars.AZ_REGISTRY_NAME }}.azurecr.io/${{ matrix.AZ_REGISTRY_REPOSITORY }}:main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tag is develop instead of main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushing for DOCKER_IMG_TAG_NAME tag can be avoided since its a base image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have edited tag and removed push for DOCKER_IMG_TAG_NAME tag

on:
push:
branches:
- develop

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Could as CI for PR to detect failing builds in here/followup task

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have added for PR in latest commit

mwaiyee added 4 commits November 14, 2024 14:04
Signed-off-by: mwaiyee <waiyee.man@data4life-asia.care>
Signed-off-by: mwaiyee <waiyee.man@data4life-asia.care>
Signed-off-by: mwaiyee <waiyee.man@data4life-asia.care>
- Removed push for `DOCKER_IMG_TAG_NAME` to ACR
- Edit tag to `develop`

Signed-off-by: mwaiyee <waiyee.man@data4life-asia.care>
@p-hoffmann p-hoffmann merged commit 3d05732 into data2evidence:develop Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants