Skip to content

Commit

Permalink
change tag
Browse files Browse the repository at this point in the history
  • Loading branch information
laimis committed Jun 13, 2023
1 parent 7dc385d commit 2b2861b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
- name: Build, tag, and push image to DigitalOcean
id: build-image
env:
ECR_REGISTRY: registry.digitalocean.com/nightingale-trading/screeners
ECR_REGISTRY: registry.digitalocean.com/nightingale-trading/web
run: |
IMAGE_TAG=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
# rename it to latest, that's what I use right now
IMAGE_TAG=latest
IMAGE_TAG=screeners
echo "building $ECR_REGISTRY:${IMAGE_TAG}"
docker build -t $ECR_REGISTRY:${IMAGE_TAG} .
docker image ls
echo "pushing $ECR_REGISTRY:${IMAGE_TAG}"
docker push registry.digitalocean.com/nightingale-trading/screeners:latest
docker push registry.digitalocean.com/nightingale-trading/web:${IMAGE_TAG}
echo "::set-output name=image::$ECR_REPOSITORY:${IMAGE_TAG}"
- name: Create Deployment
Expand Down

0 comments on commit 2b2861b

Please sign in to comment.