Skip to content

Commit

Permalink
Added cern registry build
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Sep 15, 2021
1 parent 379dd88 commit 9e6a7af
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,30 @@ jobs:
cat Dockerfile
chmod +x run.sh
docker build . --tag docker.pkg.github.com/dmwm/wmarchive/wmarchive
docker tag docker.pkg.github.com/dmwm/wmarchive/wmarchive registry.cern.ch/cmsweb/wmarchive
- 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/wmarchive
tag_with_ref: true

- name: Login to docker github registry
uses: docker/[email protected]
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit 9e6a7af

Please sign in to comment.