diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a46e802..22fbde5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: git update-index --refresh ! git diff-index HEAD -- | grep '${{ matrix.dockerfile }}' - - uses: docker/setup-buildx-action@v1 + - uses: docker/setup-buildx-action@v2 - uses: satackey/action-docker-layer-caching@v0.0.11 continue-on-error: true @@ -64,21 +64,21 @@ jobs: DOCKERFILE=${{ matrix.dockerfile }} - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} if: ${{ matrix.publish }} - name: Login to Quay.io - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: quay.io username: instrumentisto+bot password: ${{ secrets.QUAYIO_ROBOT_TOKEN }} if: ${{ matrix.publish }} - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: instrumentistobot password: ${{ secrets.DOCKERHUB_BOT_PASS }} @@ -125,11 +125,10 @@ jobs: run: echo ::set-output name=LINK::https://github.com/${{ github.repository }}/blob/${{ steps.release.outputs.VERSION }}/CHANGELOG.md#$(sed -n '/^## \[${{ steps.release.outputs.VERSION }}\]/{s/^## \[\(.*\)\][^0-9]*\([0-9].*\)/\1--\2/;s/[^0-9a-z-]*//g;p;}' CHANGELOG.md) - name: Release on GitHub - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.release.outputs.VERSION }} - release_name: ${{ steps.release.outputs.VERSION }} + name: ${{ steps.release.outputs.VERSION }} body: | [Changelog](${{ steps.changelog.outputs.LINK }})