Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvapiav committed Mar 21, 2024
1 parent ca0d99a commit 8b5eef0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/actions/build-n-upload-action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ FROM ubuntu:22.04
ENV TZ=Europe/Helsinki

# Set environment variables
ENV cachix_toke=${cachix_token2} \
github_token=${github_token}
ENV GITHUB_TOKEN=${GITHUB_TOKEN}

RUN apt-get update && apt-get -y install curl xz-utils git

Expand All @@ -22,8 +21,8 @@ COPY entrypoint.sh /entrypoint.sh
#RUN --mount=type=secret,id=cachix_token2 \
# cat /run/secrets/cachix_token2

RUN echo "cachix_token: $cachix_token"
RUN echo "github token: $github_token"
#RUN echo "cachix_token: $cachix_token"
RUN echo "github token: $GITHUB_TOKEN"

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
"cachix_token2 = here token example"
"github_token=${{ secrets.GITHUB_TOKEN }}"
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Use the output from the `hello` step
- name: Upload Build Artifacts
run: |
Expand Down

0 comments on commit 8b5eef0

Please sign in to comment.