Skip to content

Commit

Permalink
Switch to quay.io
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Nov 10, 2023
1 parent 6b2d94d commit db530d6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,9 @@ jobs:
- test
runs-on: ubuntu-22.04
timeout-minutes: 10
permissions:
contents: read
packages: write
env:
DEFAULT_REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
DEFAULT_REGISTRY: quay.io
IMAGE_NAME: manics/repo2kaniko

services:
# So that we can test this in PRs/branches
Expand Down Expand Up @@ -154,7 +151,7 @@ jobs:
- name: Login to registry
if: env.REGISTRY != 'localhost:5000'
run: |
docker login -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" "${{ env.REGISTRY }}"
docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" "${{ env.REGISTRY }}"
- name: Build and push
uses: docker/build-push-action@v5
Expand Down

0 comments on commit db530d6

Please sign in to comment.