Skip to content

Commit

Permalink
Added Docker registry as a secret
Browse files Browse the repository at this point in the history
  • Loading branch information
langerae committed Apr 17, 2024
1 parent 774db29 commit 9b8c168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ jobs:
file_name: .env

- name: Build Docker image
run: docker build . -f Dockerfile -t containers.deltares.nl/blue_earth_data/dgds-frontend
run: docker build . -f Dockerfile -t containers.deltares.nl/${{ secrets.CONTAINER_REPOSITORY }}/dgds-frontend

- name: Push Docker image
run: docker push containers.deltares.nl/blue_earth_data/dgds-frontend
run: docker push containers.deltares.nl/${{ secrets.CONTAINER_REPOSITORY }}/dgds-frontend

deploy:
# Add 'id-token' with the intended permissions for workload identity federation
Expand Down

0 comments on commit 9b8c168

Please sign in to comment.