always latest
Some checks failed
Build / Build Image (push) Failing after 48s

This commit is contained in:
2023-06-21 19:27:58 +02:00
parent 690a95e878
commit 340b5967f2

View File

@@ -16,6 +16,7 @@ env:
REGISTRY: gitea.marijndoeve.nl
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ gitea.repository }}
GITHUB_TOKEB: ""
jobs:
build:
@@ -55,12 +56,9 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v2
with:
context: .
file: docker/web/Containerfile
push: ${{ gitea.event_name != 'pull_request' }}
tags: latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max