Skip to content

Commit

Permalink
fix(sign): Remove unused registry extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU committed Dec 24, 2023
1 parent 148541e commit 9d8ce0c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions sign/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,22 @@ inputs:
containers:
description: 'Names of target containers to sign'
required: true
registry:
description: 'Registry where the container resides'
default: 'ghcr.io/ublue-os'
required: true
registry-token:
description: 'Password for container registry'
required: true
signing-secret:
description: 'Private key used to sign target container.'
required: true
registry:
description: 'Registry where the container resides'
default: 'ghcr.io/ublue-os'
required: true
tags:
description: 'Tags used by target container'
required: true
runs:
using: "composite"
steps:
- name: Extract registry from container path
shell: bash
run: echo "REGISTRY=$(cut -d '/' -f 1 <<< ${{ inputs.container }})" >> $GITHUB_ENV

- name: Login to Container Registry
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 9d8ce0c

Please sign in to comment.