From 646f19c2d6696c0ae4a22add823d48cf91949280 Mon Sep 17 00:00:00 2001 From: Martin Lablans <6804500+lablans@users.noreply.github.com> Date: Thu, 11 Apr 2024 12:58:06 +0200 Subject: [PATCH 1/2] Try new github workflow --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 402fb58..8c2ebd6 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" From 63d44fafea363f447c8ea362fd1dc1fcadb6de2f Mon Sep 17 00:00:00 2001 From: Martin Lablans <6804500+lablans@users.noreply.github.com> Date: Thu, 11 Apr 2024 13:02:38 +0200 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c2ebd6..470b8b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,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 }}