Skip to content

Commit

Permalink
gh-actions/docker/registry: Fix/simplify windows registry (#808)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Sep 2, 2023
1 parent 8c01256 commit 85360a7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions gh-actions/docker/registry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@ inputs:
image:
type: string
default: registry:2
windows_image:
type: string
default: stefanscherer/registry-windows:2.6.2
name:
type: string
default: registry
port:
type: number
default: 5000
windows:
type: boolean
default: false
load:
type: string
default:
Expand All @@ -31,7 +25,7 @@ runs:
-p ${{ inputs.port }}:5000 \
--restart always \
--name ${{ inputs.name }} \
${{ inputs.windows != true && inputs.image || inputs.windows_image }}
${{ inputs.image }}
shell: bash
- run: |
if [[ -z "${{ inputs.as }}" ]]; then
Expand Down

0 comments on commit 85360a7

Please sign in to comment.