parent
ec449009b0
commit
82b0f990a2
1 changed files with 10 additions and 10 deletions
|
@ -3,14 +3,14 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
entrypoint: [""]
|
||||
steps:
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: code.lab.cowley.tech/chris/homelab-docs:latest
|
||||
- uses: actions/checkout@v4
|
||||
- name: build using kaniko
|
||||
run: |
|
||||
- /kaniko/executor
|
||||
--context "${GITHUB_WORKSPACE}"
|
||||
--dockerfile "${GITHUB_WORKSPACE}/Dockerfile"
|
||||
--destination "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}:${GITHUB_REF}"
|
||||
|
|
Loading…
Add table
Reference in a new issue