Skip to content

Commit

Permalink
fix: update ci
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Nov 24, 2023
1 parent dcfa8f6 commit 7ec56aa
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 18 additions & 0 deletions .github/e2e/registry.conf
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 7ec56aa

Please sign in to comment.