Skip to content

[CI] Build image docker on release #94

[CI] Build image docker on release

[CI] Build image docker on release #94

Workflow file for this run

name: Docker CI
on:
push:
branches:
- "**"
paths-ignore:
- 'docs/**'
tags:
- "**"
pull_request:
paths-ignore:
- 'docs/**'
jobs:
lint-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
build-and-publish-docker:
needs: lint-docker
uses: ./.github/workflows/publish.yaml
permissions:
id-token: write
contents: read
with:
ref: ${{ github.ref }}
image-tag: ${{ github.ref }}
registry_username: ${{ secrets.DOCKERHUB_USERNAME }}

Check failure on line 37 in .github/workflows/ci-docker.yaml

View workflow run for this annotation

GitHub Actions / Docker CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci-docker.yaml (Line: 37, Col: 26): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DOCKERHUB_USERNAME .github/workflows/ci-docker.yaml (Line: 38, Col: 26): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.DOCKERHUB_TOKEN
registry_password: ${{ secrets.DOCKERHUB_TOKEN }}