ci: give the image job access to the runner Docker socket
This commit is contained in:
1 parent
7d98bc1d3a
commit
e94fdd4f63
1 file changed
+5
@@ -56,6 +56,11 @@ jobs:
|
|||||||
- chart
|
- chart
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# The runner executes jobs in containers; expose its Docker daemon so the
|
||||||
|
# image build works without a separate DinD service.
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
options: --volume /var/run/docker.sock:/var/run/docker.sock
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|||||||
Reference in new issue
Block a user