Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
urothis committed Jan 19, 2024
1 parent 2695ef9 commit 9e7f2af
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/actions/nwserver/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ inputs:
description: "Channel"
required: true
default: "stable"
dockerhub_username:
description: "DockerHub username"
required: true
dockerhub_token:
description: "DockerHub token"
required: true
gh_access_token:
description: "GitHub access token"
required: true
tag_semver:
description: "Tag semver"
required: true
Expand Down Expand Up @@ -113,14 +122,14 @@ runs:
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ inputs.dockerhub_username }}
password: ${{ inputs.dockerhub_token }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_ACCESS_TOKEN }}
password: ${{ inputs.gh_access_token }}
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2
Expand Down

0 comments on commit 9e7f2af

Please sign in to comment.