Skip to content

Commit

Permalink
fix var
Browse files Browse the repository at this point in the history
  • Loading branch information
buanet committed Jul 18, 2021
1 parent a53717f commit ba3cab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_build_main_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ jobs:
run: |
cat ./manifest.yml | sed -e "s/\${VERSION}/${{ env.version }}/g" -e "s/\${DOCKERTAG}/latest/g" > manifest_latest.yaml
./manifest-tool --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_PASS }} push from-spec manifest_latest.yaml
cat ./manifest.yml | sed -e "s/\${VERSION}/${{ env.version }}/g" -e "s/\${DOCKERTAG}/$MAJORVERSION/g" > manifest_latestmajor.yaml
cat ./manifest.yml | sed -e "s/\${VERSION}/${{ env.version }}/g" -e "s/\${DOCKERTAG}/${{ env.majorversion }}/g" > manifest_latestmajor.yaml
./manifest-tool --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_PASS }} push from-spec manifest_latestmajor.yaml
cat ./manifest_ghcr.yml | sed -e "s/\${VERSION}/${{ env.version }}/g" -e "s/\${DOCKERTAG}/latest/g" > manifest_ghcr_latest.yaml
./manifest-tool --username ${{ secrets.PACKAGES_USER }} --password ${{ secrets.PACKAGES_PASS }} push from-spec manifest_ghcr_latest.yaml
cat ./manifest_ghcr.yml | sed -e "s/\${VERSION}/${{ env.version }}/g" -e "s/\${DOCKERTAG}/$MAJORVERSION/g" > manifest_ghcr_latestmajor.yaml
cat ./manifest_ghcr.yml | sed -e "s/\${VERSION}/${{ env.version }}/g" -e "s/\${DOCKERTAG}/${{ env.majorversion }}/g" > manifest_ghcr_latestmajor.yaml
./manifest-tool --username ${{ secrets.PACKAGES_USER }} --password ${{ secrets.PACKAGES_PASS }} push from-spec manifest_ghcr_latestmajor.yaml
- name: Delete untagged images from GitHub packages
Expand Down

0 comments on commit ba3cab8

Please sign in to comment.