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 0786641 commit 7ed276b
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build-magpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
project-name: tf-dev-magpi-codebuild
disable-source-override: true
disable-source-override: false
source-version-override: ${{ github.ref }}
env-vars-for-codebuild: |
GHCR_USER,
GHCR_TOKEN
Expand All @@ -39,19 +40,12 @@ jobs:
shell: bash
git-credential-helper: yes
phases:
pre_build:
on-failure: ABORT
commands:
- git switch magpi_matt
- ls -lt
- cat README.md
build:
on-failure: ABORT
commands:
- git switch magpi_matt
- echo Build started on `date`
- git branch
- docker build -t rpmbuild-fedora -f images/rpmbuild-fedora/Dockerfile .
- docker tag rpmbuild-fedora-arm:latest ghcr.io/geonet/base-images/rpmbuild-fedora:latest
- docker tag rpmbuild-fedora:latest ghcr.io/geonet/base-images/rpmbuild-fedora:latest
post_build:
on-failure: ABORT
commands:
Expand Down

0 comments on commit 7ed276b

Please sign in to comment.