Skip to content

Commit 5198329

Browse files
committed
Don't push the docker images to GH Packages
1 parent 118d764 commit 5198329

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,6 @@ jobs:
122122
- name: Set up QEMU dependency
123123
if: ${{ steps.image.outputs.image_exists == 0 }}
124124
uses: docker/setup-qemu-action@v3
125-
- name: Login to GitHub Packages
126-
if: ${{ steps.image.outputs.image_exists == 0 }}
127-
uses: docker/login-action@v3
128-
with:
129-
registry: ghcr.io
130-
username: ${{ github.actor }}
131-
password: ${{ secrets.GITHUB_TOKEN }}
132125
- name: Login to Amazon ECR
133126
if: ${{ steps.image.outputs.image_exists == 0 }}
134127
uses: aws-actions/amazon-ecr-login@v2
@@ -147,7 +140,6 @@ jobs:
147140
push: true
148141
tags: |
149142
${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/pycon-backend:arm-${{ steps.git.outputs.githash }}
150-
ghcr.io/pythonitalia/pycon/pycon-backend:arm-${{ steps.git.outputs.githash }}
151143
cache-from: type=local,src=/tmp/.buildx-cache
152144
cache-to: type=local,dest=/tmp/.buildx-cache
153145
platforms: linux/arm64
@@ -237,13 +229,6 @@ jobs:
237229
- name: Set up QEMU dependency
238230
if: ${{ steps.image.outputs.image_exists == 0 }}
239231
uses: docker/setup-qemu-action@v3
240-
- name: Login to GitHub Packages
241-
if: ${{ steps.image.outputs.image_exists == 0 }}
242-
uses: docker/login-action@v3
243-
with:
244-
registry: ghcr.io
245-
username: ${{ github.actor }}
246-
password: ${{ secrets.GITHUB_TOKEN }}
247232
- name: Login to Amazon ECR
248233
if: ${{ steps.image.outputs.image_exists == 0 }}
249234
uses: aws-actions/amazon-ecr-login@v2

0 commit comments

Comments
 (0)