detached 3879b30

Fix: .iscontainer is copied from host

commit
3879b3029c08ae13df57c59024d32e356ec0914c
author
bnema · · 2023-11-03 09:26 UTC
parent
1ff943a
signature
unsigned
3 files · +5 -4
M .goreleaser.yaml +4 -1
@@ -30,6 +30,8 @@ dockers:
3030 - "--label=org.opencontainers.image.revision={{.FullCommit}}"
3131 - "--label=org.opencontainers.image.version={{.Version}}"
3232 - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
33+ extra_files:
34+ - .iscontainer
3335 - image_templates:
3436 - "ghcr.io/bnema/gordon:{{ .Tag }}-arm64"
3537 use: buildx
@@ -43,7 +45,8 @@ dockers:
4345 - "--label=org.opencontainers.image.revision={{.FullCommit}}"
4446 - "--label=org.opencontainers.image.version={{.Version}}"
4547 - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
46-
48+ extra_files:
49+ - .iscontainer
4750 docker_manifests:
4851 - name_template: "ghcr.io/bnema/gordon:latest"
4952 image_templates:
@@ -30,6 +30,8 @@ dockers:
30 - "--label=org.opencontainers.image.revision={{.FullCommit}}"30 - "--label=org.opencontainers.image.revision={{.FullCommit}}"
31 - "--label=org.opencontainers.image.version={{.Version}}"31 - "--label=org.opencontainers.image.version={{.Version}}"
32 - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"32 - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
33+ extra_files:
34+ - .iscontainer
33 - image_templates:35 - image_templates:
34 - "ghcr.io/bnema/gordon:{{ .Tag }}-arm64"36 - "ghcr.io/bnema/gordon:{{ .Tag }}-arm64"
35 use: buildx37 use: buildx
@@ -43,7 +45,8 @@ dockers:
43 - "--label=org.opencontainers.image.revision={{.FullCommit}}"45 - "--label=org.opencontainers.image.revision={{.FullCommit}}"
44 - "--label=org.opencontainers.image.version={{.Version}}"46 - "--label=org.opencontainers.image.version={{.Version}}"
45 - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"47 - "--label=org.opencontainers.image.source=https://github.com/bnema/gordon"
46-48+ extra_files:
49+ - .iscontainer
47 docker_manifests:50 docker_manifests:
48 - name_template: "ghcr.io/bnema/gordon:latest"51 - name_template: "ghcr.io/bnema/gordon:latest"
49 image_templates:52 image_templates:
A .iscontainer +0 -0

no textual change.

M Dockerfile +1 -3
@@ -1,9 +1,7 @@
11 # Use a small base image
22 FROM alpine
33
4-# Create a custom environment check file
5-RUN touch /.iscontainer
6-
4+COPY .iscontainer /
75 # Copy the compiled binary from your build context into the container
86 COPY gordon /
97
@@ -1,9 +1,7 @@
1 # Use a small base image1 # Use a small base image
2 FROM alpine2 FROM alpine
3 3
4-# Create a custom environment check file4+COPY .iscontainer /
5-RUN touch /.iscontainer
6-
7 # Copy the compiled binary from your build context into the container5 # Copy the compiled binary from your build context into the container
8 COPY gordon /6 COPY gordon /
9 7

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