diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index 4be3f8d..dd8be84 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -42,6 +42,24 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Push Dev Docker Image + run: | + version=$(docker images akimio/mediawarp | grep -oP 'akimio/mediawarp\s+\K[^\s]+(?=-amd64)') + echo $version + IMAGE_NAME="akimio/mediawarp" + docker manifest create ${IMAGE_NAME}:${version} \ + ${IMAGE_NAME}:${version}-amd64 \ + ${IMAGE_NAME}:${version}-arm64 \ + ${IMAGE_NAME}:${version}-armv6 \ + ${IMAGE_NAME}:${version}-armv7 + + docker manifest annotate ${IMAGE_NAME}:${version} ${IMAGE_NAME}:${version}-amd64 --arch amd64 + docker manifest annotate ${IMAGE_NAME}:${version} ${IMAGE_NAME}:${version}-arm64 --arch arm64 + docker manifest annotate ${IMAGE_NAME}:${version} ${IMAGE_NAME}:${version}-armv7 --arch arm --variant v7 + docker manifest annotate ${IMAGE_NAME}:${version} ${IMAGE_NAME}:${version}-armv6 --arch arm --variant v6 + + docker manifest push ${IMAGE_NAME}:${version} + - name: Upload assets uses: actions/upload-artifact@v4 with: