Skip to content

update on release and merge config #79

update on release and merge config

update on release and merge config #79

name: OnMerge
on:
pull_request:
branches:
- 'dev'
- 'main'
- 'master'
env:
GITHUB_WORKFLOW_FOLDER: ./.github/workflows
JEMPI_APP_PATH: ./JeMPI_Apps
defaults:
run:
shell: bash
jobs:
prepare:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/prepare
build-deploy-images:
runs-on: ubuntu-22.04
needs: [prepare]
steps:
- uses: actions/checkout@v4
- id: get-docker-push-tag
run: echo "docker-push-tag=$(git rev-parse --abbrev-ref HEAD)-$(git log -1 --pretty=format:%h)" >> $GITHUB_OUTPUT
- uses: ./.github/workflows/actions/build-deploy-images
with:
docker-push-tag: ${{ steps.get-docker-push-tag.outputs.docker-push-tag }}
docker-host: "docker.io"
secrets:

Check failure on line 36 in .github/workflows/entry-on-merge.yml

View workflow run for this annotation

GitHub Actions / OnMerge

Invalid workflow file

The workflow is not valid. .github/workflows/entry-on-merge.yml (Line: 36, Col: 7): Unexpected value 'secrets'
docker-username: ${{ secrets.DOCKER_HUB_USER_NAME }}
docker-password: ${{ secrets.DOCKER_HUB_PASSWORD }}