Skip to content

Commit 1332132

Browse files
author
Antoine de Chevigné
committed
stop pushing images on docker for now
1 parent 704b966 commit 1332132

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

.github/workflows/test_and_deploy.yml

-33
Original file line numberDiff line numberDiff line change
@@ -110,39 +110,6 @@ jobs:
110110
tag: ${{ steps.get_changelog.outputs.version }}
111111
token: ${{ secrets.GITHUB_TOKEN }}
112112

113-
publish_docker_images:
114-
if: startsWith(github.ref, 'refs/tags/v')
115-
needs: [create_release]
116-
runs-on: ubuntu-latest
117-
environment: production
118-
119-
steps:
120-
- name: Checkout
121-
uses: actions/checkout@v3
122-
123-
- name: Log in to Docker Hub
124-
uses: docker/login-action@v2
125-
with:
126-
username: ${{ secrets.DOCKERHUB_USERNAME }}
127-
password: ${{ secrets.DOCKERHUB_TOKEN }}
128-
129-
- name: Build and push backend
130-
uses: docker/build-push-action@v4
131-
with:
132-
context: .
133-
file: ./Dockerfile
134-
push: true
135-
target: prod_all
136-
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ethernal:latest,${{ secrets.DOCKERHUB_USERNAME }}/ethernal:v${{ needs.create_release.outputs.current_version }}
137-
138-
- name: Build and push PM2 server
139-
uses: docker/build-push-action@v4
140-
with:
141-
context: .
142-
file: ./Dockerfile.pm2
143-
push: true
144-
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ethernal-pm2:latest,${{ secrets.DOCKERHUB_USERNAME }}/ethernal-pm2:v${{ needs.create_release.outputs.current_version }}
145-
146113
deploy_front:
147114
if: startsWith(github.ref, 'refs/tags/v')
148115
needs: [create_release]

0 commit comments

Comments
 (0)