From 178db9cc110caeebf206c24f899db63bfd8ec184 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Fri, 10 Nov 2023 11:19:01 +0000 Subject: [PATCH] Bump version to 0.1.3 --- .github/workflows/docker-publish.yml | 46 +++++----------------------------------------- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 4 files changed, 35 insertions(+), 43 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e36819f..9da9ff1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -17,64 +17,28 @@ jobs: permissions: contents: read packages: write - # This is used to complete the identity challenge - # with sigstore/fulcio when running outside of PRs. - id-token: write - steps: - name: Checkout repository - uses: actions/checkout@v3 - - # Install the cosign tool except on PR - # https://github.com/sigstore/cosign-installer - - name: Install cosign - if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@1e95c1de343b5b0c23352d6417ee3e48d5bcd422 - with: - cosign-release: 'v1.4.0' - - # Workaround: https://github.com/docker/build-push-action/issues/461 + uses: actions/checkout@v4 - name: Setup Docker buildx - uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf - - # Login against a Docker registry except on PR - # https://github.com/docker/login-action + uses: docker/setup-buildx-action@v3 - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - # Extract metadata (tags, labels) for Docker - # https://github.com/docker/metadata-action - name: Extract Docker metadata id: meta - uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - # Build and push Docker image with Buildx (don't push on PR) - # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - # Sign the resulting Docker image digest except on PRs. - # This will only write to the public Rekor transparency log when the Docker - # repository is public to avoid leaking data. If you would like to publish - # transparency data even for private images, pass --force to cosign below. - # https://github.com/sigstore/cosign - - name: Sign the published Docker image - if: ${{ github.event_name != 'pull_request' }} - env: - COSIGN_EXPERIMENTAL: "true" - # This step uses the identity token to provision an ephemeral certificate - # against the sigstore community Fulcio instance. - run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d01a9cd --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,28 @@ +# v0.1.3 + +- Add `ssl-cert` configuration value under `gitlab` to allow self-signed + certificates to be used (#50) - thanks @fdbastionamio for the + contribution +- Update dependencies (#54) - thanks @alexheretic for the contribution +- Allow authentication using personal access tokens rather than admin + tokens (#53) - thanks @momoson for the contribution +- Use thin LTO and strip release binaries (#56) - thanks @alexheretic + for the contribution +- Make admin-token optional (#55) - thanks @alexheretic for the + contribution + +# v0.1.2 + +Add expires_at field to impersonation_tokens POST request to conform to +Gitlab breaking change in v16.1 + +# v0.1.1 + +Various bugfixes relating to interaction with Cargo - thanks @Eijebong +for the contribution. + +# v0.1.0 + +Initial release + + diff --git a/Cargo.lock b/Cargo.lock index 7e890c0..e846a46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -657,7 +657,7 @@ checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "gitlab-cargo-shim" -version = "0.1.2" +version = "0.1.3" dependencies = [ "anyhow", "arrayvec", diff --git a/Cargo.toml b/Cargo.toml index 9fa92ad..89d50e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gitlab-cargo-shim" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = [ "Jordan Doyle " -- libgit2 1.7.2