-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update action to do a remote image pull
- Loading branch information
Showing
3 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.10 | ||
FROM docker:19.03.10 | ||
LABEL MAINTAINER = 'Friends of Go ([email protected])' | ||
WORKDIR /github/workspace | ||
COPY entrypoint.sh /entrypoint.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh -l | ||
|
||
echo "Hello $1, we gonna list your files..." | ||
echo "$(ls -1 | tr '\n' ' ')" | ||
# Pulls alpine:latest Docker image (remotely) | ||
docker -H $INPUT_HOST_ADDRESS --tls --tlscacert=$INPUT_CA_CERT --tlscert=$INPUT_SERVER_CERT --tlskey=$INPUT_SERVER_KEY pull alpine:latest |