add test yaml
Some checks failed
/ test (push) Failing after 12s

This commit is contained in:
mr-boneman 2024-05-12 20:18:27 +02:00
parent 6ae2f5c5b0
commit 535db6cf4b

View file

@ -0,0 +1,17 @@
on:
push:
jobs:
test:
runs-on: docker
container:
image: registry.fedoraproject.org/fedora:40
steps:
- name: install skopeo
run: dnf install skopeo
- uses: UnifiedDesktop/skopeo-login-action
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