Skip to content

Commit

Permalink
Publisher: Remove Docker Hub authentication
Browse files Browse the repository at this point in the history
We don't use it anymore, all images have been migrated to
registry.cern.ch
  • Loading branch information
singiamtel authored and ktf committed Nov 13, 2024
1 parent ce62a8e commit 7f2d0d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,11 @@ jobs:
env:
DEBIAN_FRONTEND: noninteractive

- name: Log in to Docker repos
- name: Log in to Docker repo
run: |
docker login registry.cern.ch -u '${{ secrets.CERN_REGISTRY_USER }}' --password-stdin <<\EOF
${{ secrets.CERN_REGISTRY_PASSWORD }}
EOF
docker login docker.io -u '${{ secrets.DOCKERHUB_USER }}' --password-stdin <<\EOF
${{ secrets.DOCKERHUB_PASSWORD }}
EOF
- name: Build and push docker image
run: |
Expand Down

0 comments on commit 7f2d0d4

Please sign in to comment.