Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: FabioPinheiro <[email protected]>
  • Loading branch information
FabioPinheiro committed Nov 29, 2024
1 parent bb75ce5 commit 1df461a
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/release-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1df461a

Please sign in to comment.