Skip to content

Commit

Permalink
fix registry login inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 9, 2022
1 parent c76f935 commit 72abb4d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: "Bento Build"
description: "Composite GitHub action for building Bento images"
inputs:
registry:
description: "Container registry"
required: true
registry-username:
description: "Container registry username"
required: true
registry-password:
description: "Container registry password"
required: true
image-name:
description: "Image name"
required: true
Expand All @@ -24,9 +33,9 @@ runs:
- name: Log into the container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ inputs.registry }}
username: ${{ inputs.registry-username }}
password: ${{ inputs.registry-password }}

- name: Set up development image metadata
id: meta-dev
Expand Down

0 comments on commit 72abb4d

Please sign in to comment.