Skip to content

Commit

Permalink
Prebuild Action Docker image and host on ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
euanhunteratom committed Mar 1, 2024
1 parent c16b011 commit 14988bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ inputs:
required: true
runs:
using: 'docker'
image: 'Dockerfile'
image: 'docker://ghcr.io/atom-learning/bigquery-upload-action:v0.5.1'

0 comments on commit 14988bf

Please sign in to comment.