Update deploy.yml

This commit is contained in:
Emile Nijssen 2023-12-17 22:19:52 +01:00 committed by GitHub
parent 642d6d62ed
commit ba8c18ceaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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