Skip to content

Commit e63cfe2

Browse files
committed
style: del can_registry
1 parent ef5bd53 commit e63cfe2

File tree

2 files changed

+0
-49
lines changed

2 files changed

+0
-49
lines changed

.github/workflows/docker-name-version-arch.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ on:
2222
description: 'The ref build matrix as JSON string (list of git refs to build/deploy).'
2323
required: false
2424
type: string
25-
can_registry:
26-
description: 'Determines whether this workflow will also registry (login and push).'
27-
required: false
28-
type: boolean
2925
###
3026
### Secrets
3127
###
@@ -268,23 +264,3 @@ jobs:
268264
with:
269265
command: |
270266
make manifest-push NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" TAG=${{ steps.tag.outputs.docker-tag }}
271-
272-
# ------------------------------------------------------------
273-
# REGISTRY
274-
# ------------------------------------------------------------
275-
- name: "[REGISTRY] Login"
276-
uses: docker/login-action@v3
277-
with:
278-
registry: ${{ secrets.REGISTRY_URL }}
279-
username: ${{ secrets.REGISTRY_USERNAME }}
280-
password: ${{ secrets.REGISTRY_PASSWORD }}
281-
if: inputs.can_registry
282-
283-
- name: "[REGISTRY] Push"
284-
uses: linuxeye/shell-command-retry-action@master
285-
with:
286-
command: |
287-
docker pull bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }}
288-
docker tag bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }} ${{ secrets.REGISTRY_URL }}/bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }}
289-
docker push ${{ secrets.REGISTRY_URL }}/bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }}
290-
if: inputs.can_registry

.github/workflows/docker-name-version-flavour-arch.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ on:
2222
description: 'The ref build matrix as JSON string (list of git refs to build/deploy).'
2323
required: false
2424
type: string
25-
can_registry:
26-
description: 'Determines whether this workflow will also registry (login and push).'
27-
required: false
28-
type: boolean
2925
###
3026
### Secrets
3127
###
@@ -268,24 +264,3 @@ jobs:
268264
with:
269265
command: |
270266
make manifest-push NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} TAG=${{ steps.tag.outputs.docker-tag }}
271-
272-
273-
# ------------------------------------------------------------
274-
# REGISTRY
275-
# ------------------------------------------------------------
276-
- name: "[REGISTRY] Login"
277-
uses: docker/login-action@v3
278-
with:
279-
registry: ${{ secrets.REGISTRY_URL }}
280-
username: ${{ secrets.REGISTRY_USERNAME }}
281-
password: ${{ secrets.REGISTRY_PASSWORD }}
282-
if: inputs.can_registry
283-
284-
- name: "[REGISTRY] Push"
285-
uses: linuxeye/shell-command-retry-action@master
286-
with:
287-
command: |
288-
docker pull bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }}
289-
docker tag bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }} ${{ secrets.REGISTRY_URL }}/bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }}
290-
docker push ${{ secrets.REGISTRY_URL }}/bypanel/${{ matrix.name }}:${{ steps.tag.outputs.docker-tag }}
291-
if: inputs.can_registry

0 commit comments

Comments
 (0)