This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user