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