skopeo-login/.forgejo/workflows/test.yaml
mr-boneman 2df22fe55a
Some checks failed
/ test (push) Failing after 21s
dnf -y
2024-05-12 20:38:56 +02:00

17 lines
No EOL
513 B
YAML

on:
push:
jobs:
test:
runs-on: docker
container:
image: registry.fedoraproject.org/fedora:40
steps:
- name: install skopeo
run: dnf install skopeo -y
- uses: https://git.ws-essen.de/actions/skopeo-login-action@main
with:
registry: ${{ vars.DOCKER_REGISTRY }}
password: ${{ secrets.DOCKER_PUSH_KEY }}
- name: copy alpine image to registry
run: skopeo copy docker://alpine:latest docker://${{ vars.DOCKER_REGISTRY }}/alpine:latest