Skip to content

Commit

Permalink
Prebuild Action Docker image and host on ghcr.io (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
euanhunteratom authored Mar 4, 2024
1 parent c16b011 commit e1738d4
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 e1738d4

Please sign in to comment.