Skip to content

Commit

Permalink
ci: use env var correctly, don't cache extended image anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats authored Dec 16, 2024
1 parent 24774b3 commit 231398a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pull_request_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ jobs:
mkdir static
mkdir work
- name: Cache docker image
uses: actions/cache@v3
env:
cache-name: ${{ secrets.EXTENDED_IMAGE_LINK }}
with:
path: ~/.plogon_cache
key: cache-${{ env.cache-name }}
# - name: Cache docker image
# uses: actions/cache@v3
# env:
# cache-name: ${{ secrets.EXTENDED_IMAGE_LINK }}
# with:
# path: ~/.plogon_cache
# key: cache-${{ env.cache-name }}

- name: Run Plogon
id: plogon_run
Expand All @@ -96,7 +96,7 @@ jobs:
EXTENDED_IMAGE_LINK: ${{ secrets.EXTENDED_IMAGE_LINK }}
PLOGON_SECRETS_PK: ${{ secrets.PLOGON_SECRETS_PK }}
PLOGON_SECRETS_PK_PASSWORD: ${{ secrets.PLOGON_SECRETS_PK_PASSWORD }}
PLOGON_INTERNAL_S3_APIURL: $PLOGON_GLADE_APIURL
PLOGON_INTERNAL_S3_APIURL: ${{ vars.PLOGON_GLADE_APIURL }}
PLOGON_INTERNAL_S3_ACCESSKEY: ${{ secrets.PLOGON_GLADE_ACCESSKEY }}
PLOGON_INTERNAL_S3_SECRET: ${{ secrets.PLOGON_GLADE_SECRET }}
GITHUB_REPOSITORY: ${{ github.repository }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ jobs:
mkdir artifacts
mkdir work
- name: Cache docker image
uses: actions/cache@v3
env:
cache-name: ${{ secrets.EXTENDED_IMAGE_LINK }}
with:
path: ~/.plogon_cache
key: cache-${{ env.cache-name }}
# - name: Cache docker image
# uses: actions/cache@v3
# env:
# cache-name: ${{ secrets.EXTENDED_IMAGE_LINK }}
# with:
# path: ~/.plogon_cache
# key: cache-${{ env.cache-name }}

- name: Run Plogon
working-directory: Plogon/Plogon
Expand All @@ -104,7 +104,7 @@ jobs:
PLOGON_S3_ACCESSKEY: ${{ secrets.PLOGON_S3_ACCESSKEY }}
PLOGON_S3_SECRET: ${{ secrets.PLOGON_S3_SECRET }}
PLOGON_S3_REGION: ${{ secrets.PLOGON_S3_REGION }}
PLOGON_INTERNAL_S3_APIURL: $PLOGON_GLADE_APIURL
PLOGON_INTERNAL_S3_APIURL: ${{ vars.PLOGON_GLADE_APIURL }}
PLOGON_INTERNAL_S3_ACCESSKEY: ${{ secrets.PLOGON_GLADE_ACCESSKEY }}
PLOGON_INTERNAL_S3_SECRET: ${{ secrets.PLOGON_GLADE_SECRET }}
run: |
Expand Down

0 comments on commit 231398a

Please sign in to comment.