Skip to content

Commit

Permalink
test: disable ACR tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Feb 19, 2022
1 parent 005df7d commit 4ea3e2e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test-registries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Prepare ACR secrets
shell: bash
run: |
mkdir auth
kubectl create secret docker-registry acr-secret \
--docker-username="${{ secrets.TEST_ACR_USERNAME }}" \
--docker-password="${{ secrets.TEST_ACR_PASSWORD }}" \
--docker-server=sbomgitoperator.azurecr.io \
--docker-email="${{ secrets.TEST_EMAIL }}" \
-o json --dry-run=client | jq -r '.data.".dockerconfigjson"' > auth/acr.yaml
# - name: Prepare ACR secrets
# shell: bash
# run: |
# mkdir auth
#
# kubectl create secret docker-registry acr-secret \
# --docker-username="${{ secrets.TEST_ACR_USERNAME }}" \
# --docker-password="${{ secrets.TEST_ACR_PASSWORD }}" \
# --docker-server=sbomgitoperator.azurecr.io \
# --docker-email="${{ secrets.TEST_EMAIL }}" \
# -o json --dry-run=client | jq -r '.data.".dockerconfigjson"' > auth/acr.yaml

- name: Prepare ECR secrets
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ However, the operator will work with more versions of Kubernetes in general.

The operator relies on the [go-containeregistry](https://github.com/google/go-containerregistry) library to download images. It should work with most registries.
These are officially tested (with authentication):
- ACR (Azure Container Registry)
- ACR (Azure Container Registry) (currently not unit-tested)
- ECR (Amazon Elastic Container Registry)
- GAR (Google Artifact Registry)
- GCR (Google Container Registry)
Expand Down

0 comments on commit 4ea3e2e

Please sign in to comment.