From bf782da430f70a21a00358872a6c6ec9303ea4d0 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 19 Dec 2024 15:23:46 +1300 Subject: [PATCH] fixup! feat: add gha for codebuild fedora arm --- .github/workflows/build-magpi.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-magpi.yml b/.github/workflows/build-magpi.yml index fde1da5..e1090b5 100644 --- a/.github/workflows/build-magpi.yml +++ b/.github/workflows/build-magpi.yml @@ -3,7 +3,9 @@ on: push: branches: - main - - magpi_matt + pull_request: + branches: + - main workflow_dispatch: {} permissions: id-token: write @@ -48,10 +50,8 @@ jobs: post_build: on-failure: ABORT commands: - - docker login -u ${GHCR_USER} -p ${GHCR_TOKEN} ghcr.io - - echo "${CODEBUILD_SOURCE_VERSION}" - | if expr "${CODEBUILD_SOURCE_VERSION}" : "refs/heads/main" >/dev/null; then - echo "TEST TEST TEST" + docker login -u ${GHCR_USER} -p ${GHCR_TOKEN} ghcr.io + docker push ghcr.io/geonet/base-images/rpmbuild-fedora:latest fi -# - 'docker push ghcr.io/geonet/base-images/rpmbuild-fedora-arm:latest'