parent
2df22fe55a
commit
fcc540cde4
2 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
run: dnf install skopeo -y
|
run: dnf install skopeo -y
|
||||||
- uses: https://git.ws-essen.de/actions/skopeo-login-action@main
|
- uses: https://git.ws-essen.de/actions/skopeo-login-action@main
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.DOCKER_REGISTRY }}
|
registry: git.ws-essen.de
|
||||||
password: ${{ secrets.DOCKER_PUSH_KEY }}
|
password: ${{ secrets.DOCKER_PUSH_KEY }}
|
||||||
- name: copy alpine image to registry
|
- name: copy alpine image to registry
|
||||||
run: skopeo copy docker://alpine:latest docker://${{ vars.DOCKER_REGISTRY }}/alpine:latest
|
run: skopeo copy docker://alpine:latest docker://registry.ws-essen.de/alpine:latest
|
||||||
|
|
@ -15,5 +15,5 @@ runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
echo ${{ inputs.password }} > skopeo login -u ${{ inputs.username }}
|
echo ${{ inputs.password }} | skopeo login -u ${{ inputs.username }}
|
||||||
shell: bash
|
shell: bash
|
||||||
Loading…
Add table
Add a link
Reference in a new issue