Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename arm64 rpmbuild image to new tag #337

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build-magpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@ jobs:
build:
on-failure: ABORT
commands:
- docker build -t rpmbuild-fedora images/rpmbuild-fedora
- docker tag rpmbuild-fedora:latest ghcr.io/geonet/base-images/rpmbuild-fedora:latest
- docker build -t ghcr.io/geonet/base-images/rpmbuild-fedora:41-aarch64 images/rpmbuild-fedora
post_build:
on-failure: ABORT
commands:
- |
if expr "${CODEBUILD_SOURCE_VERSION}" : "refs/heads/main" >/dev/null; then
docker login -u ${GHCR_USER} -p ${GHCR_TOKEN} ghcr.io
docker push ghcr.io/geonet/base-images/rpmbuild-fedora:latest
docker push ghcr.io/geonet/base-images/rpmbuild-fedora:41-aarch64
fi
Loading