Skip to content

test

test #1

Workflow file for this run

name: Registry Copy
on:
push:
jobs:
copy:
runs-on: ubuntu-latest
steps:
- name: Install Regclient
run: |
wget https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64
chmod +x regctl-linux-amd64
- name: Login into Docker Hub
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
- name: Login into Github Docker Registery
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Copy image
run: ./regctl-linux-amd64 image copy ghcr.io/friendsofshopware/production-docker-base:8.0 friendsofshopware/production-docker-base:8.0