mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 23:32:10 -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
|
||||
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
|
||||
uses: docker/login-action@v2.1.0
|
||||
with:
|
||||
|
@ -88,12 +82,10 @@ jobs:
|
|||
- name: Retag and Push Images
|
||||
uses: akhilerm/tag-push-action@v2.1.0
|
||||
with:
|
||||
src: ghcr.io/github/super-linter:${{ matrix.images.prefix }}latest
|
||||
src: ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}latest
|
||||
dst: |
|
||||
github/super-linter:${{ matrix.images.prefix }}v5
|
||||
github/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 }}
|
||||
ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}v5
|
||||
ghcr.io/super-linter/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
||||
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
@ -120,7 +112,7 @@ jobs:
|
|||
status: ${{ job.status }}
|
||||
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||
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
|
||||
if: failure()
|
||||
|
@ -134,6 +126,7 @@ jobs:
|
|||
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 }}",
|
||||
assignees: [
|
||||
'lindluni'
|
||||
'zkoppert',
|
||||
'Hanse00'
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue