detached 9039049

Update go.yml

commit
903904975b56f3a0752372cc74346dd3d50ee37d
author
Brice Nema · · 2024-04-19 12:10 UTC
committer
GitHub · · 2024-04-19 12:10 UTC
parent
2fa54e8
signature
unsigned
1 file · +10 -4
M .github/workflows/go.yml +10 -4
@@ -3,10 +3,10 @@ name: Release
33 on:
44 push:
55 branches: [ "main" ]
6- pull_request:
7- branches: [ "main" ]
86 tags:
97 - '*'
8+ pull_request:
9+ branches: [ "main" ]
1010
1111 jobs:
1212 release:
@@ -36,10 +36,16 @@ jobs:
3636 run: |
3737 curl -sfL https://raw.githubusercontent.com/sigstore/cosign/main/install.sh | sudo sh
3838
39+ - name: Copy dist directory
40+ run: |
41+ mkdir -p docker-build
42+ cp -r dist docker-build/
43+ ls -a docker-build/
44+
3945 - name: Build and push Docker images
4046 run: |
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 .
47+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=gordon_linux_amd64/gordon --platform=linux/amd64 docker-build
48+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=gordon_linux_arm64/gordon --platform=linux/arm64 docker-build
4349 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64
4450 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64
4551
@@ -3,10 +3,10 @@ name: Release
3 on:3 on:
4 push:4 push:
5 branches: [ "main" ]5 branches: [ "main" ]
6- pull_request:
7- branches: [ "main" ]
8 tags:6 tags:
9 - '*'7 - '*'
8+ pull_request:
9+ branches: [ "main" ]
10 10
11 jobs:11 jobs:
12 release:12 release:
@@ -36,10 +36,16 @@ 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+ - name: Copy dist directory
40+ run: |
41+ mkdir -p docker-build
42+ cp -r dist docker-build/
43+ ls -a docker-build/
44+
39 - name: Build and push Docker images45 - name: Build and push Docker images
40 run: |46 run: |
41- docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=dist/gordon_linux_amd64/gordon --platform=linux/amd64 .47+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64 --build-arg BINARY=gordon_linux_amd64/gordon --platform=linux/amd64 docker-build
42- docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=dist/gordon_linux_arm64/gordon --platform=linux/arm64 .48+ docker build -t ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64 --build-arg BINARY=gordon_linux_arm64/gordon --platform=linux/arm64 docker-build
43 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-amd6449 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-amd64
44 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-arm6450 docker push ghcr.io/bnema/gordon:${{ github.ref_name }}-arm64
45 51

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