diff --git a/.github/workflows/publish_edge.yaml b/.github/workflows/publish_edge.yaml index b08e8d58..35c85e8e 100644 --- a/.github/workflows/publish_edge.yaml +++ b/.github/workflows/publish_edge.yaml @@ -23,6 +23,7 @@ jobs: - name: Install deps and clean legacy rules. run: | sudo snap install lxd + sudo apt install skopeo sudo snap install rockcraft --classic --edge sudo lxd init --auto for ipt in iptables iptables-legacy ip6tables ip6tables-legacy; do sudo $ipt --flush; sudo $ipt --flush -t nat; sudo $ipt --delete-chain; sudo $ipt --delete-chain -t nat; sudo $ipt -P FORWARD ACCEPT; sudo $ipt -P INPUT ACCEPT; sudo $ipt -P OUTPUT ACCEPT; done @@ -64,11 +65,11 @@ jobs: # iterate through the tags for tag in $TAGS; do echo "$tag" - skopeo --insecure-policy copy oci-archive:${{ steps.rockcraft.outputs.rock }} docker-daemon:$tag + sudo skopeo --insecure-policy copy oci-archive:${{ steps.rockcraft.outputs.rock }} docker-daemon:$tag done - docker image ls -a + sudo docker image ls -a sleep 10 - docker push ghcr.io/canonical/ceph --all-tags + sudo docker push ghcr.io/canonical/ceph --all-tags env: TAGS: ${{ steps.meta.outputs.tags }}