From b4ee99ab021af79444cc74761a8426277bc6c32a Mon Sep 17 00:00:00 2001 From: Haruaki Tamada Date: Tue, 21 May 2024 15:21:30 +0900 Subject: [PATCH 1/2] add permission for fixing the github action failure --- .github/workflows/publish.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 11474c6..f2c9452 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -132,10 +132,11 @@ jobs: docker: needs: publish runs-on: ubuntu-latest + permissions: + packages: write + contents: read steps: - name: Set up QEMU - # Add support for more platforms with QEMU (optional) - # https://github.com/docker/setup-qemu-action uses: docker/setup-qemu-action@v3 - name: Docker buildx From 2e9f0445a5f49ba07ad2697a1a67aff45aa951a0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 21 May 2024 06:21:59 +0000 Subject: [PATCH 2/2] update version to 0.4.6, ready to publish v0.4.6 --- Cargo.toml | 2 +- Dockerfile | 4 ++-- README.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2f2dfe5..7b91cbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "totebag" -version = "0.4.5" +version = "0.4.6" description = "A tool for archiving files and directories and extracting several archive formats." repository = "https://github.com/tamada/totebag" readme = "README.md" diff --git a/Dockerfile b/Dockerfile index a449f9f..f98731b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.16 AS builder -ARG VERSION=0.4.5 +ARG VERSION=0.4.6 ARG TARGETPLATFORM ARG PLATFORM=${TARGETPLATFORM#linux/} @@ -12,7 +12,7 @@ RUN apk add --no-cache curl tar gzip \ FROM alpine:3.16 -ARG VERSION=0.4.5 +ARG VERSION=0.4.6 LABEL org.opencontainers.image.source https://github.com/tamada/totebag diff --git a/README.md b/README.md index b823bfd..6067a68 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # totebag -[![Version](https://shields.io/badge/Version-0.4.5-blue)](https://github.com/tamada/totebag/releases/tag/v0.4.5) +[![Version](https://shields.io/badge/Version-0.4.6-blue)](https://github.com/tamada/totebag/releases/tag/v0.4.6) [![MIT License](https://shields.io/badge/License-MIT-blue)](https://github.com/tamada/totebag/blob/main/LICENSE) -[![docker](https://shields.io/badge/Docker-0.4.5-blue?logo=docker)](https://github.com/tamada/totebag/pkgs/container/totebag) +[![docker](https://shields.io/badge/Docker-0.4.6-blue?logo=docker)](https://github.com/tamada/totebag/pkgs/container/totebag) [![build](https://github.com/tamada/totebag/actions/workflows/build.yaml/badge.svg)](https://github.com/tamada/totebag/actions/workflows/build.yaml) [![Rust Report Card](https://rust-reportcard.xuri.me/badge/github.com/tamada/totebag)](https://rust-reportcard.xuri.me/report/github.com/tamada/totebag) @@ -56,7 +56,7 @@ brew install tamada/tap/totebag ## :whale: Docker ```sh -docker run -it --rm -v $PWD:/workdir ghcr.io/tamada/totebag:0.4.5 [OPTIONS] [ARGUMENTS]... +docker run -it --rm -v $PWD:/workdir ghcr.io/tamada/totebag:0.4.6 [OPTIONS] [ARGUMENTS]... ``` - **Working directory**: `/workdir`