Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Harbor workflow #9

Open
jdolitsky opened this issue Apr 6, 2020 · 1 comment
Open

Add Harbor workflow #9

jdolitsky opened this issue Apr 6, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@jdolitsky
Copy link
Contributor

jdolitsky commented Apr 6, 2020

Create GitHub action at .github/workflows/harbor.yml that does the following:

Need to also add related details and badge to the readme under "goharbor/harbor"

@jdolitsky jdolitsky added the help wanted Extra attention is needed label Apr 6, 2020
@jdolitsky
Copy link
Contributor Author

Example workflow:

name: zot
on:
  repository_dispatch:
    types:
      - manual-trigger
      - manual-trigger-zot
  schedule:
    - cron: '0 6 * * *'
jobs:
  run:
    services:
      zot:
        image: quay.io/bloodorange/zot:9ecb5ce
    runs-on: ubuntu-latest
    steps:
      - name: Run OCI Distribution Spec conformance tests
        uses: opencontainers/distribution-spec@master
        env:
          OCI_ROOT_URL: http://zot:5000
          OCI_NAMESPACE: bloodorange/oci-conformance-test
      - name: Upload test report to S3
        run: aws s3 cp --acl public-read report.html s3://oci-distribution-conformance-results/zot.html
        if: always()
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant