Skip to content

Commit fb5737d

Browse files
committed
[CI] update token managing
1 parent e8d9d2d commit fb5737d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,16 @@ jobs:
5454
# Step 4: Build and Push Docker Image
5555
- name: Build and Push Docker Image
5656
uses: docker/build-push-action@v4
57-
env:
58-
GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
5957
with:
6058
context: .
6159
file: ./Dockerfile
6260
push: true
6361
build-args: |
6462
GEM5_ASSET_ID=${{ env.GEM5_ASSET_ID }}
6563
LLVM_ASSET_ID=${{ env.LLVM_ASSET_ID }}
66-
GIT_ACCESS_TOKEN=${{ env.GIT_ACCESS_TOKEN }}
6764
TORCHSIM_SHA=${{ env.GITHUB_SHA }}
65+
secrets: |
66+
GIT_ACCESS_TOKEN=${{ secrets.GIT_ACCESS_TOKEN }}
6867
tags: ghcr.io/psal-postech/${{ env.IMAGE_TAG }}
6968

7069
test_add:

.github/workflows/tag_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
build-args: |
6363
GEM5_ASSET_ID=${{ env.GEM5_ASSET_ID }}
6464
LLVM_ASSET_ID=${{ env.LLVM_ASSET_ID }}
65-
GIT_ACCESS_TOKEN=${{ env.GIT_ACCESS_TOKEN }}
6665
TORCHSIM_SHA=${{ env.GITHUB_SHA }}
66+
secrets: |
67+
GIT_ACCESS_TOKEN=${{ secrets.GIT_ACCESS_TOKEN }}
6768
tags: ghcr.io/psal-postech/${{ env.IMAGE_TAG}}

0 commit comments

Comments
 (0)