mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-06 01:05:54 -05:00
Remove dockerhub login
This commit is contained in:
parent
74bb871df3
commit
0dd6586c92
1 changed files with 6 additions and 13 deletions
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
@ -34,12 +34,6 @@ jobs:
|
||||||
- name: Setup Docker BuildX
|
- name: Setup Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v2.5.0
|
uses: docker/setup-buildx-action@v2.5.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
|
||||||
uses: docker/login-action@v2.1.0
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Login to GHCR
|
- name: Login to GHCR
|
||||||
uses: docker/login-action@v2.1.0
|
uses: docker/login-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
|
@ -88,12 +82,10 @@ jobs:
|
||||||
- name: Retag and Push Images
|
- name: Retag and Push Images
|
||||||
uses: akhilerm/tag-push-action@v2.1.0
|
uses: akhilerm/tag-push-action@v2.1.0
|
||||||
with:
|
with:
|
||||||
src: ghcr.io/github/super-linter:${{ matrix.images.prefix }}latest
|
src: ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}latest
|
||||||
dst: |
|
dst: |
|
||||||
github/super-linter:${{ matrix.images.prefix }}v5
|
ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}v5
|
||||||
github/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
||||||
ghcr.io/github/super-linter:${{ matrix.images.prefix }}v5
|
|
||||||
ghcr.io/github/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -120,7 +112,7 @@ jobs:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||||
env: ${{ steps.deployment.outputs.env }}
|
env: ${{ steps.deployment.outputs.env }}
|
||||||
env_url: https://github.com/github/super-linter/releases/tag/${{ env.RELEASE_VERSION }}
|
env_url: https://github.com/super-linter/super-linter/releases/tag/${{ env.RELEASE_VERSION }}
|
||||||
|
|
||||||
- name: Create Issue on Failure
|
- name: Create Issue on Failure
|
||||||
if: failure()
|
if: failure()
|
||||||
|
@ -134,6 +126,7 @@ jobs:
|
||||||
title: "Failed to deploy release to production",
|
title: "Failed to deploy release to production",
|
||||||
body: "Automation has failed us! Failed to push release ${{ env.RELEASE_VERSION }}\nMore information can be found at:\n - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
body: "Automation has failed us! Failed to push release ${{ env.RELEASE_VERSION }}\nMore information can be found at:\n - ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
||||||
assignees: [
|
assignees: [
|
||||||
'lindluni'
|
'zkoppert',
|
||||||
|
'Hanse00'
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue