Skip to content

Commit

Permalink
fixup! feat: add gha for codebuild fedora arm
Browse files Browse the repository at this point in the history
  • Loading branch information
MCorfy committed Dec 19, 2024
1 parent 843113b commit bf782da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-magpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ on:
push:
branches:
- main
- magpi_matt
pull_request:
branches:
- main
workflow_dispatch: {}
permissions:
id-token: write
Expand Down Expand Up @@ -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'

0 comments on commit bf782da

Please sign in to comment.