From 89fecf89e98e04613e5549dda9c572011dfd47ea Mon Sep 17 00:00:00 2001 From: Sean Arms <67096+lesserwhirls@users.noreply.github.com> Date: Thu, 9 Sep 2021 06:47:56 -0600 Subject: [PATCH] Use Dockerfile to grab image from ghcr --- Dockerfile | 4 ++++ action.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c43bdb2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +# Container image that runs your code +FROM ghcr.io/unidata/thredds-test-action:v2 +USER root +ENV GITHUB_ACTIONS="YEP" diff --git a/action.yml b/action.yml index 1361525..94ee2ce 100644 --- a/action.yml +++ b/action.yml @@ -16,7 +16,7 @@ inputs: required: true runs: using: 'docker' - image: 'ghcr.io/unidata/thredds-test-action:v2' + image: 'Dockerfile' args: - ${{ inputs.java-vendor}} - ${{ inputs.java-version }}