remove push
This commit is contained in:
parent
60c31e1dd8
commit
6342f81215
1 changed files with 1 additions and 7 deletions
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
type=sha,prefix=
|
type=sha,prefix=
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/dev' }}
|
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/dev' }}
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build and Push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./Backend
|
context: ./Backend
|
||||||
|
|
@ -65,12 +65,6 @@ jobs:
|
||||||
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:buildcache
|
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:buildcache
|
||||||
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:buildcache,mode=max
|
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:buildcache,mode=max
|
||||||
|
|
||||||
- name: Push Docker image
|
|
||||||
run: |
|
|
||||||
docker push ${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:${{ env.IMAGE_TAG }}
|
|
||||||
docker push ${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:latest
|
|
||||||
echo "✅ Image pushed to registry"
|
|
||||||
|
|
||||||
- name: Test image can run
|
- name: Test image can run
|
||||||
run: |
|
run: |
|
||||||
# Quick test that image can start
|
# Quick test that image can start
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue