Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartich0ke authored Aug 19, 2023
1 parent 7fcb8d5 commit ca9e56f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,18 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Cosign
uses: sigstore/[email protected]

- name: Login to Docker Registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login harbor.artichokenetwork.com -u ${{ secrets.DOCKER_USERNAME }} --password-stdin

- name: Build and Push Docker Image
run: |
docker build -t harbor.artichokenetwork.com/ferritecms/ferrite:latest .
docker push harbor.artichokenetwork.com/ferritecms/ferrite:latest
sign:
needs: package
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Sign the Docker Image
run: cosign sign --yes --key env://COSIGN_PRIVATE_KEY harbor.artichokenetwork.com/ferritecms/ferrite:latest


0 comments on commit ca9e56f

Please sign in to comment.