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

feat(ci): push geonetwork-ui-tools-pipelines docker image to docker hub #744

Merged
merged 1 commit into from
Dec 30, 2023
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
8 changes: 6 additions & 2 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,19 @@ jobs:
tag: ${{ github.ref }}
overwrite: true

- name: Build all docker images
- name: Build docker images for all apps
if: github.event_name == 'release'
run: npx nx run-many --projects=${{ env.APP_NAMES }} --target=docker-build

- name: Build affected docker images
- name: Build docker images for affected apps
if: github.event_name != 'release'
# FIXME: excluding data-platform until it has a remote registry to be pushed
run: npx nx affected --target=docker-build --exclude=data-platform

- name: Build docker images for tools
working-directory: tools
run: npm run pipelines:docker-build

- name: Tag all docker images on main also as latest
if: github.event_name == 'push' # only happens when pushing on the main branch
run: docker image ls --format 'docker tag {{.Repository}}:{{.Tag}} {{.Repository}}:latest' --filter=reference='geonetwork/*' | bash -
Expand Down
Loading