Skip to content

Commit

Permalink
fix github action failure. add checkout action before build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed May 21, 2024
1 parent 5dfd6aa commit 1c1adb3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ jobs:
type=sha,prefix=,suffix=,format=short
type=raw,value=${{ needs.publish.outputs.tag }}
- name: Checkout the project
uses: actions/checkout@v4

- name: Build and push
uses: docker/build-push-action@v5
with:
Expand Down
10 changes: 10 additions & 0 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Version](https://shields.io/badge/Version-$VERSION-blue)](https://github.com/tamada/totebag/releases/tag/v$VERSION)
[![MIT License](https://shields.io/badge/License-MIT-blue)](https://github.com/tamada/totebag/blob/main/LICENSE)
[![docker](https://shields.io/badge/Docker-$VERSION-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)
Expand Down Expand Up @@ -52,6 +53,15 @@ Supported archive formats:
brew install tamada/tap/totebag
```

## :whale: Docker

```sh
docker run -it --rm -v $PWD:/workdir ghcr.io/tamada/totebag:$VERSION [OPTIONS] [ARGUMENTS]...
```

- **Working directory**: `/workdir`
- **User**: `nonroot`

## About

### Authors
Expand Down

0 comments on commit 1c1adb3

Please sign in to comment.