Skip to content

Commit

Permalink
fix unothorized
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkg3 committed Sep 6, 2023
1 parent 9bbb2d1 commit 31dcf0c
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ env:

jobs:

login:
name: Log in to image registry
runs-on: ubuntu-20.04
steps:
- name: Log in to Quay.io
uses: redhat-actions/podman-login@v1
with:
username: clustersecret
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: quay.io/clustersecret
# login:
# name: Log in to image registry
# runs-on: ubuntu-20.04
# steps:
# - name: Log in to Quay.io
# uses: redhat-actions/podman-login@v1
# with:
# username: ${{ secrets.REGISTRY_USER }}
# password: ${{ secrets.REGISTRY_PASSWORD }}
# registry: quay.io/clustersecret

build-push-quay:
name: Build and push manifest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
install_latest: [ true ]
install_latest: [ false ]
# install_latest: [ true, false ]

steps:
Expand All @@ -47,6 +47,7 @@ jobs:
bash .github/install_latest_podman.sh
- name: Install qemu dependency
if: matrix.install_latest
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
Expand All @@ -58,7 +59,7 @@ jobs:
with:
image: ${{ env.IMAGE_NAMESPACE }}
tags: ${{ env.IMAGE_TAGS }}
platforms: linux/arm64/v8
platforms: linux/386
containerfiles: |
./Dockerfile.gh
Expand All @@ -72,7 +73,7 @@ jobs:
tags: ${{ steps.build_image.outputs.tags }}
registry: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAMESPACE }}
username: ${{ secrets.REGISTRY_USER }}
# password: ${{ secrets.REGISTRY_PASSWORD }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Echo outputs
run: |
Expand Down

0 comments on commit 31dcf0c

Please sign in to comment.