fix: update Docker build command to use correct image name and remove unnecessary tagging steps
All checks were successful
Build And Publish Production Image / Build And Publish Production Image (push) Successful in 11s
All checks were successful
Build And Publish Production Image / Build And Publish Production Image (push) Successful in 11s
This commit is contained in:
@@ -27,13 +27,8 @@ jobs:
|
|||||||
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
- name: Build all-in-one image
|
- name: Build all-in-one image
|
||||||
run: docker build -t condado-newsletter:latest -f Dockerfile.allinone .
|
run: docker build -t sancho41/condado-newsletter:latest -f Dockerfile.allinone .
|
||||||
|
|
||||||
- name: Tag
|
|
||||||
run: |
|
|
||||||
docker tag condado-newsletter:latest ${REGISTRY}/${IMAGE_NAME}:latest
|
|
||||||
docker tag condado-newsletter:latest ${REGISTRY}/${IMAGE_NAME}:${{ github.sha }}
|
|
||||||
|
|
||||||
- name: Deploy stack via Portainer API
|
- name: Deploy stack via Portainer API
|
||||||
env:
|
env:
|
||||||
STACK_NAME: codado-newsletter-stack
|
STACK_NAME: codado-newsletter-stack
|
||||||
|
|||||||
Reference in New Issue
Block a user