Files
forgerunner/test/sample-workflows/docker-login.yml
T

21 lines
522 B
YAML
Raw Normal View History

2026-06-29 21:56:12 -05:00
name: Smoke — Docker Login
on:
workflow_dispatch:
jobs:
login:
# Use `host` so the Docker CLI and mounted socket are available; the
# `ubuntu-latest` job container has neither.
runs-on: host
2026-06-29 21:56:12 -05:00
steps:
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: registry.alwisp.com
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Confirm Docker login
run: docker info