Skip to content

Commit

Permalink
fix(ci): delete registry url to work w/ Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
hippothomas committed Jan 19, 2024
1 parent 8ddbc06 commit bb28f3c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- name: Login to container registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.CONTAINER_REGISTRY_URL }}
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_PWD }}

Expand All @@ -30,7 +29,7 @@ jobs:
platforms: linux/amd64
build-args: VERSION=${{ secrets.PHP_VERSION }}
push: true
tags: ${{ secrets.CONTAINER_REGISTRY_URL }}/waistline-api:latest, ${{ secrets.CONTAINER_REGISTRY_URL }}/waistline-api:${{ secrets.VERSION }}
tags: waistlineapi/waistline-api:latest, waistlineapi/waistline-api:${{ secrets.VERSION }}

arm-build:
name: Build & Deploy (ARM)
Expand All @@ -45,7 +44,6 @@ jobs:
- name: Login to container registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.CONTAINER_REGISTRY_URL }}
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_PWD }}

Expand All @@ -57,4 +55,4 @@ jobs:
platforms: linux/arm64
build-args: VERSION=${{ secrets.PHP_VERSION }}
push: true
tags: ${{ secrets.CONTAINER_REGISTRY_URL }}/waistline-api:latest, ${{ secrets.CONTAINER_REGISTRY_URL }}/waistline-api:${{ secrets.VERSION }}
tags: waistlineapi/waistline-api:latest, waistlineapi/waistline-api:${{ secrets.VERSION }}

0 comments on commit bb28f3c

Please sign in to comment.