podman-login/.github/workflows/example.yml
Tim Etchells 805221f355 Tweak example
Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-04-07 13:01:31 -04:00

24 lines
483 B
YAML

name: Test Login
on:
push:
workflow_dispatch:
env:
REGISTRY_USER: diagrawa
IMAGE_REGISTRY: quay.io
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
jobs:
login:
name: Log in to registry
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Log in to quay.io
uses: ./
with:
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
registry: ${{ env.IMAGE_REGISTRY }}