detached b78d0f1

Update go.yml

commit
b78d0f1973df480a0feb6829d8d6355323a67014
author
Brice Nema · · 2024-04-19 12:03 UTC
committer
GitHub · · 2024-04-19 12:03 UTC
parent
0afca82
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
1 file · +6 -6
M .github/workflows/go.yml +6 -6
@@ -23,7 +23,7 @@ jobs:
2323 uses: goreleaser/goreleaser-action@v3
2424 with:
2525 version: latest
26- args: release --rm-dist --clean
26+ args: release --clean
2727
2828 - name: Login to GitHub Container Registry
2929 uses: docker/login-action@v1
@@ -36,17 +36,17 @@ jobs:
3636 run: |
3737 curl -sfL https://raw.githubusercontent.com/sigstore/cosign/main/install.sh | sudo sh
3838
39-
4039 - name: Build and push Docker images
4140 run: |
42- go build -o gordon ./cmd/cli/main.go
43- docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=gordon --platform=linux/amd64 .
44- docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=gordon --platform=linux/arm64 .
41+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=dist/gordon_linux_amd64/gordon --platform=linux/amd64 .
42+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=dist/gordon_linux_arm64/gordon --platform=linux/arm64 .
4543 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64
4644 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64
47-
45+
4846 - name: Create Release
4947 uses: actions/create-release@v1
48+ env:
49+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050 with:
5151 tag_name: ${{ github.ref }}
5252 release_name: Release ${{ github.ref }}
@@ -23,7 +23,7 @@ jobs:
23 uses: goreleaser/goreleaser-action@v323 uses: goreleaser/goreleaser-action@v3
24 with:24 with:
25 version: latest25 version: latest
26- args: release --rm-dist --clean26+ args: release --clean
27 27
28 - name: Login to GitHub Container Registry28 - name: Login to GitHub Container Registry
29 uses: docker/login-action@v1 29 uses: docker/login-action@v1
@@ -36,17 +36,17 @@ jobs:
36 run: |36 run: |
37 curl -sfL https://raw.githubusercontent.com/sigstore/cosign/main/install.sh | sudo sh37 curl -sfL https://raw.githubusercontent.com/sigstore/cosign/main/install.sh | sudo sh
38 38
39-
40 - name: Build and push Docker images39 - name: Build and push Docker images
41 run: |40 run: |
42- go build -o gordon ./cmd/cli/main.go41+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=dist/gordon_linux_amd64/gordon --platform=linux/amd64 .
43- docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=gordon --platform=linux/amd64 .42+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=dist/gordon_linux_arm64/gordon --platform=linux/arm64 .
44- docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=gordon --platform=linux/arm64 .
45 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-amd6443 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64
46 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-arm6444 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64
47- 45+
48 - name: Create Release46 - name: Create Release
49 uses: actions/create-release@v147 uses: actions/create-release@v1
48+ env:
49+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50 with:50 with:
51 tag_name: ${{ github.ref }}51 tag_name: ${{ github.ref }}
52 release_name: Release ${{ github.ref }}52 release_name: Release ${{ github.ref }}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close