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