File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 password : ${{ secrets.GITHUB_TOKEN }}
5656
5757 - name : Extract metadata for Docker
58- id : meta-image
58+ id : meta-docker
5959 uses : docker/metadata-action@v5
6060 with :
6161 images : ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
@@ -64,12 +64,12 @@ jobs:
6464 type=raw,value=latest,enable={{is_default_branch}}
6565
6666 - name : Build and push Docker image
67- id : push-image
67+ id : push-docker
6868 uses : docker/build-push-action@v6
6969 with :
7070 context : .
7171 push : true
72- tags : ${{ steps.meta-website .outputs.tags }}
73- labels : ${{ steps.meta-website .outputs.labels }}
72+ tags : ${{ steps.meta-docker .outputs.tags }}
73+ labels : ${{ steps.meta-docker .outputs.labels }}
7474 cache-from : type=gha
7575 cache-to : type=gha,mode=max
Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ Build the Dockerfile
77podman build -t github-runner .
88```
99
10- Run with podman-compose
10+ Or use image from github:
11+ ` ghcr.io/onmcu/dockerized-gha-runner:latest `
12+
13+ Run with podman-compose (maybe adapt image name when using local build)
1114``` sh
1215podman-compose up -d
1316```
You can’t perform that action at this time.
0 commit comments