Skip to content

Commit

Permalink
Revert "Change registry to ghcr.io"
Browse files Browse the repository at this point in the history
This reverts commit 2593f08.

Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro committed May 12, 2022
1 parent 0d0f16e commit f13aef4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/_meta-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ jobs:
with:
install: true

- name: Login to ghcr.io
- name: Login to Docker.io
uses: docker/login-action@v1.13.0
with:
registry: ghcr.io
registry: docker.io
username: ${{ secrets.registry-0-usr }}
password: ${{ secrets.registry-0-psw }}

- name: Set Container Tags
id: tags
run: |-
TAGS="${TAGS},ghcr.io/nscuro/frontend:${{ inputs.app-version }}"
TAGS="${TAGS},docker.io/dependencytrack/frontend:${{ inputs.app-version }}"
if [[ "${{ inputs.app-version }}" != "snapshot" ]]; then
TAGS="${TAGS},ghcr.io/nscuro/frontend:latest"
TAGS="${TAGS},docker.io/dependencytrack/frontend:latest"
fi
echo "::set-output name=tags::${TAGS}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
node-version-package: '16'
app-version: 'snapshot'
secrets:
registry-0-usr: ${{ github.repository_owner }}
registry-0-psw: ${{ secrets.GITHUB_TOKEN }}
registry-0-usr: ${{ secrets.HUB_USERNAME }}
registry-0-psw: ${{ secrets.HUB_ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
with:
app-version: ${{ needs.prepare-release.outputs.version }}
secrets:
registry-0-usr: ${{ github.repository_owner }}
registry-0-psw: ${{ secrets.GITHUB_TOKEN }}
registry-0-usr: ${{ secrets.HUB_USERNAME }}
registry-0-psw: ${{ secrets.HUB_ACCESS_TOKEN }}

create-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f13aef4

Please sign in to comment.