diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 402fb58..470b8b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,12 +9,13 @@ on: branches: - main - develop + workflow_dispatch: jobs: docker-lens-beacon-service: # This workflow defines how a maven package is built, tested and published. # Visit: https://github.com/samply/github-workflows/blob/develop/.github/workflows/docker-ci.yml, for more information - uses: samply/github-workflows/.github/workflows/docker-ci.yml@main + uses: samply/github-workflows/.github/workflows/docker-ci.yml@ghcr-commit with: # The Docker Hub Repository you want eventually push to, e.g samply/share-client image-name: "samply/lens-beacon-service" @@ -33,7 +34,7 @@ jobs: # build-platforms: "linux/amd64" # If your actions generate an artifact in a previous build step, you can tell this workflow to download it artifact-name: '*' - build-to: dockerhub + push-to: dockerhub # This passes the secrets from calling workflow to the called workflow secrets: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}