Skip to content

Build container image e0a6c8c2bd7c9a0c9521e4c518d09a5ede31690f #33

Build container image e0a6c8c2bd7c9a0c9521e4c518d09a5ede31690f

Build container image e0a6c8c2bd7c9a0c9521e4c518d09a5ede31690f #33

Workflow file for this run

name: Build container image
# This run-name will contain the branch name when run with pull_request or
# pull_request_target event.
# Otherwise it will contain the tag name if present or SHA.
run-name: Build container image ${{ github.head_ref || ( github.ref_type == 'tag' && github.ref_name || github.sha ) }}
concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: ${{ github.workflow }}-${{ github.head_ref || ( github.ref_type == 'tag' && github.ref_name || github.sha ) }}
cancel-in-progress: true
on:
push:
branches:
- 'main'
workflow_dispatch: {}
jobs:
build:
uses: ./.github/workflows/__build-workflow.yaml
secrets:
dockerhub-token: ${{ secrets.DOCKERHUB_PUSH_TOKEN }}
gh-pat: ${{ secrets.PAT_GITHUB }}
with:
username: ${{ secrets.GHA_DOCKERHUB_PUSH_USER }}

Check failure on line 26 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Build container image

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 26, Col: 17): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GHA_DOCKERHUB_PUSH_USER
registry: docker.io
image-name: ${{ vars.DOCKERHUB_IMAGE_NAME }}
push: false