1 parent
f0391a4af8
commit
1fe7af0453
1 file changed
+20
@@ -0,0 +1,20 @@
|
|||||||
|
name: pin test
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
t:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
||||||
|
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
|
||||||
|
- run: printf 'FROM scratch\nCOPY LICENSE* /\n' > /tmp/Dockerfile.t; touch /tmp/ctx-x; mkdir -p /tmp/ctx && cp /tmp/Dockerfile.t /tmp/ctx/Dockerfile && : > /tmp/ctx/LICENSE
|
||||||
|
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||||
|
with:
|
||||||
|
context: /tmp/ctx
|
||||||
|
push: false
|
||||||
|
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
registry: localhost.invalid
|
||||||
|
username: x
|
||||||
|
password: x
|
||||||
Reference in new issue
Block a user