diff --git a/.github/e2e/action.yml b/.github/e2e/action.yml index c93000cf..0ab14f48 100644 --- a/.github/e2e/action.yml +++ b/.github/e2e/action.yml @@ -10,10 +10,6 @@ inputs: runs: using: "composite" steps: - - name: Azure login - uses: azure/login@v1 - with: - creds: ${{ secrets.AZURE_CREDENTIALS }} - name: setup Notation CLI uses: notaryproject/notation-action/setup@v1 with: diff --git a/.github/e2e/registry.conf b/.github/e2e/registry.conf new file mode 100644 index 00000000..902f2543 --- /dev/null +++ b/.github/e2e/registry.conf @@ -0,0 +1,18 @@ +version: 0.1 +log: + fields: + service: registry +storage: + cache: + blobdescriptor: inmemory + filesystem: + rootdirectory: ./tmp/registry +http: + addr: :5000 + headers: + X-Content-Type-Options: [nosniff] +health: + storagedriver: + enabled: true + interval: 10s + threshold: 3 \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1460e1fd..db5eaee6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,6 +82,10 @@ jobs: docker pull hello-world:latest docker tag hello-world:latest localhost:5000/hello-world:v1 docker push localhost:5000/hello-world:v1 + - name: Azure login + uses: azure/login@v1 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} - uses: ./.github/e2e with: pluginDownloadURL: ${{ env.pluginDownloadURL }}