Skip to content

[CI] Build image docker on release #96

[CI] Build image docker on release

[CI] Build image docker on release #96

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/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
build-and-publish-docker:
needs: lint-docker
uses: ./.github/workflows/publish.yaml

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

View workflow run for this annotation

GitHub Actions / Docker CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-docker.yaml (Line: 30, Col: 11): Error from called workflow InseeFrLab/s3-operator/.github/workflows/publish.yaml@3b16b13d6fe7c8a1cca8dc6b5cfb76f9cc2798ef (Line: 16, Col: 9): Unexpected value 'type' In .github/workflows/ci-docker.yaml (Line: 30, Col: 11): Error from called workflow InseeFrLab/s3-operator/.github/workflows/publish.yaml@3b16b13d6fe7c8a1cca8dc6b5cfb76f9cc2798ef (Line: 19, Col: 9): Unexpected value 'type'
permissions:
id-token: write
contents: read
with:
ref: ${{ github.ref }}
image-tag: ${{ github.ref }}
secrets:
registry_username: ${{ secrets.DOCKERHUB_USERNAME }}
registry_password: ${{ secrets.DOCKERHUB_TOKEN }}