Skip to content

Commit

Permalink
add access token
Browse files Browse the repository at this point in the history
  • Loading branch information
Woozl committed Mar 26, 2024
1 parent 7bd59df commit 4463260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-image-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
push: true
build-args: |
VERSION=${{ steps.get_version.outputs.VERSION }}
STRAPI_ACCESS_TOKEN=${{ secrets.STRAPI_ACCESS_TOKEN }}
tags: |
${{ env.REGISTRY }}:latest
${{ env.REGISTRY }}:${{ steps.get_version.outputs.VERSION }}
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ WORKDIR /app
ARG VERSION=$(VERSION)
ENV VERSION=$VERSION

ARG STRAPI_ACCESS_TOKEN=$(STRAPI_ACCESS_TOKEN)
ENV STRAPI_ACCESS_TOKEN=$STRAPI_ACCESS_TOKEN

ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1

Expand Down

0 comments on commit 4463260

Please sign in to comment.