Skip to content

Commit

Permalink
ci(ci.yaml): switch to docker-cross-publish workflow and add docker c…
Browse files Browse the repository at this point in the history
…redentials

The CI configuration now uses the `docker-cross-publish.yaml` workflow
from the `develop` branch to support cross-platform Docker builds.
Additionally, Docker Hub credentials are explicitly defined to ensure
the CI process can push images to Docker Hub repositories securely.
  • Loading branch information
cybersiddhu committed Jun 25, 2024
1 parent 1bb5ce9 commit 610cfcf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
call-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-publish.yaml@main
secrets: inherit
uses: dictyBase/workflows/.github/workflows/docker-cross-publish.yaml@develop
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
image: github-actions
dockerfile: build/package/Dockerfile
secrets:
dockeruser: ${{ secrets.DOCKERHUB_USER }}
dockerpass: ${{ secrets.DOKCER_PASS }}

0 comments on commit 610cfcf

Please sign in to comment.