From e1738d4e26731fffcaa818c3a4b450723064777a Mon Sep 17 00:00:00 2001 From: Euan Hunter Date: Mon, 4 Mar 2024 12:14:06 +0000 Subject: [PATCH] Prebuild Action Docker image and host on ghcr.io (#1) --- Dockerfile | 7 +++++-- action.yml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4bc56e8..52385d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,12 @@ FROM python:3.8.18-slim-bullseye AS builder + +LABEL org.opencontainers.image.source=https://github.com/Atom-Learning/bigquery-upload-action +LABEL org.opencontainers.image.description="This Github action can be used to upload samples to BigQuery table." +LABEL org.opencontainers.image.licenses=MIT + ADD . /app WORKDIR /app -RUN apt-get update -RUN apt-get install -y g++ # We are installing a dependency here directly into our app source dir RUN pip install --target=/app -r plugin_scripts/requirements.lock ENV PYTHONPATH /app diff --git a/action.yml b/action.yml index 4af5738..3e679f3 100644 --- a/action.yml +++ b/action.yml @@ -23,4 +23,4 @@ inputs: required: true runs: using: 'docker' - image: 'Dockerfile' + image: 'docker://ghcr.io/atom-learning/bigquery-upload-action:v0.5.1'