diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index fee5023..7ce8c21 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -4,8 +4,8 @@ on: schedule: - cron: "0 10 * * *" push: - branches: - - "**" + branches-ignore: + - main tags: - "v*.*.*" pull_request: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 43f4b11..4a7ea6b 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -3,8 +3,8 @@ name: lint on: pull_request: push: - branches: - - '!main' + branches-ignore: + - main jobs: lint: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d1fd9c..7ae6648 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,10 @@ on: jobs: build-release: - uses: geokrety/geokrety-gha-workflows/.github/workflows/release.yml@main + uses: geokrety/geokrety-gha-workflows/.github/workflows/release-with-docker.yml@main + with: + image_name: geokrety/bootstrap-email + dockerhub_username: ${{ vars.DOCKERHUB_USERNAME }} secrets: GH_TOKEN: ${{ secrets.GH_TOKEN }} + dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}