We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f28fc commit c5c3022Copy full SHA for c5c3022
3 files changed
Dockerfile
@@ -0,0 +1,9 @@
1
+# Container image that runs your code
2
+FROM ghcr.io/axway-api-management-plus/apimcli:1.14.7
3
+
4
+# Copies your code file from your action repository to the filesystem path `/` of the container
5
+COPY entrypoint.sh /entrypoint.sh
6
7
8
+# Code file to execute when the docker container starts up (`entrypoint.sh`)
9
+ENTRYPOINT ["/entrypoint.sh"]
action.yaml
@@ -12,7 +12,7 @@ inputs:
12
13
runs:
14
using: "docker"
15
- image: "docker://ghcr.io/axway-api-management-plus/apimcli:1.14.7"
+ image: "Dockerfile"
16
volumes:
17
- ./:/opt/apim-cli/data
18
args:
entrypoint.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -l
+echo "Hello $1"
+time=$(date)
+echo "time=$time" >> $GITHUB_OUTPUT
0 commit comments