Enable login to GitHub Container Registry and set push to true in Docker build workflow
Some checks failed
Build and Push Loki Database / build-and-push (push) Failing after 24s

This commit is contained in:
2026-01-20 10:21:15 +01:00
parent 45d0ffe3bb
commit f19896ce3b

View File

@@ -91,12 +91,12 @@ jobs:
type=match,pattern=.*(v\d+\.\d+)\.\d+,group=1 type=match,pattern=.*(v\d+\.\d+)\.\d+,group=1
type=match,pattern=.*(v\d+)\.\d+\.\d+,group=1 type=match,pattern=.*(v\d+)\.\d+\.\d+,group=1
# - name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
# uses: docker/login-action@v3 uses: docker/login-action@v3
# with: with:
# registry: ${{ inputs.registry }} registry: ${{ inputs.registry }}
# username: ${{ inputs.registry_username }} username: ${{ inputs.registry_username }}
# password: ${{ inputs.registry_password }} password: ${{ inputs.registry_password }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
@@ -104,6 +104,6 @@ jobs:
context: ${{ inputs.build_context }} context: ${{ inputs.build_context }}
file: ${{ inputs.file_path }} file: ${{ inputs.file_path }}
platforms: ${{ inputs.platforms }} platforms: ${{ inputs.platforms }}
push: false push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}