Skip to content

Commit 680d7cc

Browse files
Update docker_release.yaml
1 parent 72f466a commit 680d7cc

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/docker_release.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,18 @@ jobs:
1717
- name: Check out the repo
1818
uses: actions/checkout@v4
1919

20-
- name: Load secret
21-
uses: 1password/load-secrets-action@v2
22-
with:
23-
export-env: true
24-
env:
25-
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
26-
PERSONAL_ACCESS_TOKEN: op://shawndengdev/github_access_token/credential
27-
DOCKER_USERNAME: shawndengdocker
28-
DOCKER_TOKEN: op://shawndengdev/dockerhub/credential
29-
3020
- name: Login to Docker Hub
3121
uses: docker/login-action@v3
3222
with:
33-
username: ${{ env.DOCKER_USERNAME }}
34-
password: ${{ env.DOCKER_TOKEN }}
23+
username: ${{ secrets.DOCKERHUB_USERNAME }}
24+
password: ${{ secrets.DOCKERHUB_TOKEN }}
3525

3626
- name: Login to GitHub Container Registry
3727
uses: docker/login-action@v3
3828
with:
3929
registry: ghcr.io
4030
username: ${{ github.actor }}
41-
password: ${{ env.PERSONAL_ACCESS_TOKEN }}
31+
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
4232

4333
- name: Set up QEMU
4434
uses: docker/setup-qemu-action@v3
@@ -51,7 +41,7 @@ jobs:
5141
uses: docker/metadata-action@v5
5242
with:
5343
images: |
54-
${{ env.DOCKERHUB_IMAGE_NAME }}
44+
${{ secrets.DOCKERHUB_IMAGE_NAME }}
5545
${{ env.GITHUB_IMAGE_NAME }}
5646
tags: |
5747
type=raw,value=latest,enable={{is_default_branch}}

0 commit comments

Comments
 (0)