Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyzzp committed Jun 21, 2024
1 parent df83511 commit adae95b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GHCR_PASSWORD}}
registry: ${{vars.docker_registry}}
username: ${{vars.docker_user_name}}
password: ${{secrets.docker_user_password}}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -36,7 +36,7 @@ jobs:
context: .
push: true
tags: |
${{vars.GHCR_IMAGE_NAME}}
${{vars.docker_registry}}/${{github.repository}}
platforms: linux/amd64,linux/arm64

- name: restart server
Expand Down

0 comments on commit adae95b

Please sign in to comment.