Skip to content

Commit

Permalink
Merge pull request #798 from NetrunnerDB/docker-push-do
Browse files Browse the repository at this point in the history
Fix docker registry string, whitespace issue
  • Loading branch information
leukosaima authored Jan 15, 2024
2 parents 416280a + 6d2bbb5 commit fc27e5a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ jobs:

- name: Tag image with run id
run:
docker tag nsgcr/netrunner-cards-json \
registry.digitalocean.com/nsgcr/netrunner-cards-json:${{ github.run_id }}
docker tag nsgcr/netrunner-cards-json registry.digitalocean.com/nsgcr/netrunner-cards-json:${{ github.run_id }}

- name: Tag image with latest
run:
docker tag nsgcr/netrunner-cards-json \
registry.digitalocean.com/nsgcr/netrunner-cards-json:latest
docker tag nsgcr/netrunner-cards-json registry.digitalocean.com/nsgcr/netrunner-cards-json:latest

- name: Push run id tag to DO Container Registry
run: docker push registry.digitalocean.com/nsgcr/netrunner-cards-json:${{ github.run_id }}
Expand Down

0 comments on commit fc27e5a

Please sign in to comment.