fix CD fr this time (please)
Some checks failed
build docker container automatically / build (push) Failing after 2m1s

This commit is contained in:
2026-04-17 16:14:01 +02:00
parent 3854c09577
commit ec1323a1b4

View File

@ -5,30 +5,31 @@ on:
branches: branches:
- master - master
runs: jobs:
using: "composite" build:
steps: runs-on: ubuntu-latest
- uses: actions/checkout@v5 steps:
with: - uses: actions/checkout@v5
fetch-depth: 0 with:
fetch-depth: 0
- name: get commit hash - name: get commit hash
id: get_hash id: get_hash
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: git.tmoron.fr registry: git.tmoron.fr
username: ${{ secrets.PUSH_USERNAME }} username: ${{ secrets.PUSH_USERNAME }}
password: ${{ secrets.PUSH_PASSWORD }} password: ${{ secrets.PUSH_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: "{{defaultContext}}:${{ input.path }}" context: "{{defaultContext}}:${{ input.path }}"
push: true push: true
tags: git.tmoron.fr/${{ inputs.name }}:${{ steps.get_hash.outputs.sha_short }}k tags: git.tmoron.fr/${{ inputs.name }}:${{ steps.get_hash.outputs.sha_short }}k