Skip to content

Commit

Permalink
try to also push to gitlab registry
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Sep 19, 2024
1 parent 80dcea0 commit 7de0d90
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,21 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: docker/login-action@v3
with:
registry: gitlab-registry.cern.ch
username: ${{ github.actor }}
password: ${{ secrets.GITLAB_REGISTRY_PUSH_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/${{ github.repository_owner }}/${{ matrix.context }}
# generate Docker tags based on the following events/attributes
gitlab-registry.cern.ch/acts/machines/${{ matrix.context }}
# generate Docker tags based on the following events/attributesk
tags: |
type=schedule
type=ref,event=branch
Expand Down

0 comments on commit 7de0d90

Please sign in to comment.