mirror of
https://github.com/docker/login-action.git
synced 2026-08-24 19:45:24 +02:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0413be612 | ||
|
|
5d1ee94869 |
@@ -0,0 +1,3 @@
|
|||||||
|
FROM docker:29.3@sha256:4d90f1f6c400315c2dba96d3ec93c01e64198395cbba04f79d12adce4f737029
|
||||||
|
|
||||||
|
ENTRYPOINT ["docker"]
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name: Pull Docker image
|
||||||
|
|
||||||
|
description: Pull an image from a Docker container action
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
image:
|
||||||
|
description: Image reference to pull
|
||||||
|
required: true
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: docker
|
||||||
|
image: Dockerfile
|
||||||
|
args:
|
||||||
|
- pull
|
||||||
|
- ${{ inputs.image }}
|
||||||
@@ -92,8 +92,6 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: read
|
packages: read
|
||||||
env:
|
|
||||||
DOCKER_CONFIG: $HOME/.docker
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
@@ -106,11 +104,10 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: DinD
|
name: Pull test image from Docker CLI container action
|
||||||
uses: docker://docker:29.3@sha256:4d90f1f6c400315c2dba96d3ec93c01e64198395cbba04f79d12adce4f737029
|
uses: ./.github/actions/docker-pull
|
||||||
with:
|
with:
|
||||||
entrypoint: docker
|
image: ${{ env.GHCR_TEST_IMAGE }}
|
||||||
args: pull ${{ env.GHCR_TEST_IMAGE }}
|
|
||||||
-
|
-
|
||||||
name: Pull test image
|
name: Pull test image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user