Skip to content

Commit

Permalink
Merge pull request #34 from vkuznet/cern-registry
Browse files Browse the repository at this point in the history
Add CERN registry workflows
  • Loading branch information
yuyiguo authored Sep 2, 2021
2 parents b7bf7db + 071a786 commit aac4831
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 aac4831

Please sign in to comment.