Skip to content

Commit

Permalink
Add CERN registry workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Aug 23, 2021
1 parent 104834d commit 071a786
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,23 @@ jobs:
- name: Build image
run: |
docker build . --tag docker.pkg.github.com/dmwm/rucio-tracers
docker tag docker.pkg.github.com/dmwm/rucio-tracers/rucio-tracers registry.cern.ch/cmsweb/rucio-tracers
- name: Login to registry.cern.ch
uses: docker/[email protected]
with:
registry: registry.cern.ch
username: ${{ secrets.CERN_LOGIN }}
password: ${{ secrets.CERN_TOKEN }}

- name: Publish image to registry.cern.ch
uses: docker/build-push-action@v1
with:
username: ${{ secrets.CERN_LOGIN }}
password: ${{ secrets.CERN_TOKEN }}
registry: registry.cern.ch
repository: cmsweb/rucio-tracers
tag_with_ref: true

- name: Login to docker github registry
uses: docker/[email protected]
Expand Down

0 comments on commit 071a786

Please sign in to comment.