testing new manifest tool version

This commit is contained in:
André Germann
2023-01-26 16:46:32 +01:00
committed by GitHub
parent bbeba1c666
commit d500b0a014

View File

@@ -35,8 +35,11 @@ jobs:
- name: Set up manifest tool
run: |
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.6/manifest-tool-linux-amd64 -O manifest-tool
git clone https://github.com/estesp/manifest-tool
cd manifest-tool && make binary
# wget https://github.com/estesp/manifest-tool/releases/download/v1.0.3/manifest-tool-linux-amd64 -O manifest-tool
chmod +x manifest-tool
cd ..
- name: Set up QEMU
uses: docker/setup-qemu-action@v2.1.0
@@ -94,9 +97,9 @@ jobs:
- name: Create and push manifests
run: |
sed -e "s/\${VERSION}/dev/g" -e "s/\${DOCKERTAG}/dev/g" ./manifest.yml > manifest_dev.yaml
./manifest-tool --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_PASS }} push from-spec manifest_dev.yaml
./manifest-tool/manifest-tool --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_PASS }} push from-spec manifest_dev.yaml
sed -e "s/\${VERSION}/dev/g" -e "s/\${DOCKERTAG}/dev/g" ./manifest_ghcr.yml > manifest_ghcr_dev.yaml
./manifest-tool --username ${{ secrets.PACKAGES_USER }} --password ${{ secrets.PACKAGES_PASS }} push from-spec manifest_ghcr_dev.yaml
./manifest-tool/manifest-tool --username ${{ secrets.PACKAGES_USER }} --password ${{ secrets.PACKAGES_PASS }} push from-spec manifest_ghcr_dev.yaml
- name: Delete untagged images from GitHub packages
uses: actions/github-script@v6