Skip to content

Commit

Permalink
ci: fix signing job
Browse files Browse the repository at this point in the history
  • Loading branch information
ggguardian committed Jan 26, 2025
1 parent 40afce2 commit 50a3d94
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
50 changes: 25 additions & 25 deletions .github/actions/apko/publish/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ runs:
engine-stop: false
module: github.com/opopops/daggerverse/apko@v1.5.2
verb: call
args: |
with-registry-auth \
--address=ghcr.io \
--username=${{ github.actor }} \
--secret=env:GH_TOKEN \
publish \
--context=${{ github.workspace }} \
--config=${{ inputs.config }} \
--tag=ghcr.io/${{ inputs.tag }} \
--arch=${{ inputs.arch }} \
--keyring-append=${{ inputs.key }} \
--repository-append=${{ inputs.repository }} \
digest \
args: >-
with-registry-auth
--address=ghcr.io
--username=${{ github.actor }}
--secret=env:GH_TOKEN
publish
--context=${{ github.workspace }}
--config=${{ inputs.config }}
--tag=ghcr.io/${{ inputs.tag }}
--arch=${{ inputs.arch }}
--keyring-append=${{ inputs.key }}
--repository-append=${{ inputs.repository }}
digest
- name: Copy image to Docker Hub
uses: dagger/dagger-for-github@v7
Expand All @@ -66,15 +66,15 @@ runs:
with:
module: github.com/opopops/daggerverse/crane@v1.2.2
verb: call
args: |
with-registry-auth \
--address=ghcr.io \
--username=${{ github.actor }} \
--secret=env:GH_TOKEN \
with-registry-auth \
--address=docker.io \
--username=${{ inputs.dockerhub-username }} \
--secret=env:DOCKER_HUB_PASSWORD \
copy \
--source=ghcr.io/${{ inputs.tag }} \
--target=docker.io/${{ inputs.tag }} \
args: >-
with-registry-auth
--address=ghcr.io
--username=${{ github.actor }}
--secret=env:GH_TOKEN
with-registry-auth
--address=docker.io
--username=${{ inputs.dockerhub-username }}
--secret=env:DOCKER_HUB_PASSWORD
copy
--source=ghcr.io/${{ inputs.tag }}
--target=docker.io/${{ inputs.tag }}
4 changes: 2 additions & 2 deletions .github/actions/cosign/sign/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ runs:
--username=${{ inputs.dockerhub-username }} \
--secret=env:DOCKER_HUB_PASSWORD \
with-sign \
--image=ghcr.io/${{ inputs.image }} \
--image='ghcr.io/${{ inputs.image }}' \
--password=env:COSIGN_PASSWORD \
--private-key=env:COSIGN_PRIVATE_KEY \
sign \
--image=docker.io/${{ inputs.image }} \
--image='docker.io/${{ inputs.image }}' \
--password=env:COSIGN_PASSWORD \
--private-key=env:COSIGN_PRIVATE_KEY \
20 changes: 10 additions & 10 deletions .github/actions/melange/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ runs:
engine-stop: false
module: github.com/opopops/daggerverse/melange@v1.3.4
verb: call
args: |
with-build \
--config=${{ github.workspace }}/melange/wstunnel.yaml \
--arch=${{ inputs.arch }} \
build \
--config=${{ github.workspace }}/melange/ggbridge.yaml \
--source-dir=${{ github.workspace }} \
--arch=${{ inputs.arch }} \
export \
--path=${{ steps.output.outputs.output-dir }} \
args: >-
with-build
--config=${{ github.workspace }}/melange/wstunnel.yaml
--arch=${{ inputs.arch }}
build
--config=${{ github.workspace }}/melange/ggbridge.yaml
--source-dir=${{ github.workspace }}
--arch=${{ inputs.arch }}
export
--path=${{ steps.output.outputs.output-dir }}

0 comments on commit 50a3d94

Please sign in to comment.