try with a docker job
This commit is contained in:
parent
1ff64854a3
commit
81be9023c3
1 changed files with 17 additions and 0 deletions
|
@ -8,3 +8,20 @@ jobs:
|
|||
- name: build using dind
|
||||
run: |
|
||||
echo "docker build -t code.lab.cowley.tech/${GITHUB_REPOSITORY}:$(git rev-parse --short HEAD)"
|
||||
docker:
|
||||
runs-on: docker
|
||||
steps:
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: chris
|
||||
password: ${{ env.GITHUB_TOKEN}}
|
||||
-
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: false
|
||||
tags: code.lab.cowley.tech/homelab/homelab-docs:latest
|
||||
|
|
Loading…
Add table
Reference in a new issue