mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-23 17:49:24 +08:00
Update deploy.yml
This commit is contained in:
parent
642d6d62ed
commit
ba8c18ceaf
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
@ -22,11 +22,12 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
registry: ghcr.io
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
- run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
|
- run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user