diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c15fed8..f3fa597 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Rust +name: Build and test on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ff7384..3bba302 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,9 +35,12 @@ jobs: release: name: Release runs-on: ubuntu-latest + needs: + - bump-versions permissions: id-token: write contents: read + packages: write steps: - name: Checkout @@ -46,6 +49,13 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Log in to the GitHub Container registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to Docker Hub uses: docker/login-action@v2 with: