fix(cicd): removes hash tag on docker build
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 2s
This commit is contained in:
parent
db383445ff
commit
bb9c5af87c
@ -13,7 +13,6 @@ jobs:
|
||||
run: |
|
||||
docker build \
|
||||
-t sprout-db-migrations:latest \
|
||||
-t sprout-db-migrations:$(git rev-parse --short) \
|
||||
-f Dockerfile \
|
||||
.
|
||||
|
||||
@ -21,4 +20,4 @@ jobs:
|
||||
run: echo "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin ${{ secrets.DOCKER_REGISTRY }}
|
||||
|
||||
- name: Push the Docker Image
|
||||
run: docker push ${{ secrets.DOCKER_REGISTRY }}/sprout-db-migrations:$(git rev-parse --short)
|
||||
run: docker push ${{ secrets.DOCKER_REGISTRY }}/sprout-db-migrations:latest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user