From 1df461a1b9881fb75749ccaf7433f2d493fbc0a1 Mon Sep 17 00:00:00 2001 From: FabioPinheiro Date: Fri, 29 Nov 2024 13:19:54 +0000 Subject: [PATCH] cleanup Signed-off-by: FabioPinheiro --- .github/workflows/release-docker-hub.yml | 30 +++++++++--------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release-docker-hub.yml b/.github/workflows/release-docker-hub.yml index 5050a083..90ad33e6 100644 --- a/.github/workflows/release-docker-hub.yml +++ b/.github/workflows/release-docker-hub.yml @@ -24,11 +24,6 @@ concurrency: on: workflow_dispatch: - # inputs: - # DEPLOYMENT_BRANCH: - # description: branch that needs to be deployed - # type: string - # required: false schedule: - cron: '0 0 * * *' # Run every day at midnight UTC push: @@ -52,8 +47,6 @@ jobs: SBT_OPTS: -Xmx2G steps: - uses: actions/checkout@v4 - # with: - # ref: ${{ inputs.DEPLOYMENT_BRANCH }} - name: Setup Java and Scala uses: olafurpg/setup-scala@v14 @@ -81,8 +74,7 @@ jobs: with: name: docker-directory-artifact path: ./mediator/target/docker/stage - - + build-and-push-docker-images: name: Build and Push Docker images runs-on: ubuntu-latest @@ -103,16 +95,16 @@ jobs: type=raw,value=latest,enable=${{ !startsWith(github.ref, 'refs/tags/v') }} tags_schedule: | type=schedule,pattern=nightly,enable={{is_default_branch}} - # - # fmgp # My presonal acount also for testing - # registry: docker.io - # repository: ${{vars.DOCKERHUB_FMGP_USERNAME}} - # username: ${{vars.DOCKERHUB_FMGP_USERNAME}} - # password_name: DOCKERHUB_FMGP_TOKEN - # tags_noschedule: | - # type=semver,pattern={{version}},enable={{is_default_branch}} - # type=raw,value=latest,enable={{is_default_branch}} - # tags_schedule: | - # type=schedule,enable={{is_default_branch}} + - # fmgp # My presonal acount also for testing + registry: docker.io + repository: ${{vars.DOCKERHUB_FMGP_USERNAME}} + username: ${{vars.DOCKERHUB_FMGP_USERNAME}} + password_name: DOCKERHUB_FMGP_TOKEN + tags_noschedule: | + type=semver,pattern={{version}},enable={{is_default_branch}} + type=raw,value=latest,enable={{is_default_branch}} + tags_schedule: | + type=schedule,enable={{is_default_branch}} steps: - name: Set test variable