File tree Expand file tree Collapse file tree 4 files changed +8
-17
lines changed Expand file tree Collapse file tree 4 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- name : Checkout
11
11
uses : actions/checkout@v2
12
- - name : Read Versions File
13
- id : versions
14
-
15
- with :
16
- path : versions
17
- log-variables : true
18
12
- name : Set up QEMU
19
13
uses : docker/setup-qemu-action@v2
20
14
- name : Set up Docker Buildx
31
25
context : " {{defaultContext}}:package"
32
26
platforms : linux/amd64,linux/arm64
33
27
push : true
34
- build-args : |
35
- GO_VERSION=${{ steps.versions.outputs.go_version }}
36
- DLV_VERSION=${{ steps.versions.outputs.dlv_version }}
37
28
tags : |
38
- ghcr.io/${{ github.repository }}:${{ steps.versions.outputs.dlv_version }}-${{ steps.versions.outputs.delve_debugger_version }}
29
+ ghcr.io/${{ github.repository }}:${{ github.ref_name }}
39
30
ghcr.io/${{ github.repository }}:latest
Original file line number Diff line number Diff line change 1
- include versions
2
-
3
1
IMAGE_NAME =ghcr.io/moio/delve-debugger
4
2
3
+ GO_VERSION := $(shell grep '^ARG GO_VERSION=' package/Dockerfile | cut -d'=' -f2)
4
+ DLV_VERSION := $(shell grep '^ARG DLV_VERSION=' package/Dockerfile | cut -d'=' -f2)
5
+ DELVE_DEBUGGER_VERSION := $(shell grep '^ARG DELVE_DEBUGGER_VERSION=' package/Dockerfile | cut -d'=' -f2)
6
+
5
7
K3D_IMPORT_CLUSTER =upstream
6
8
7
9
build :
Original file line number Diff line number Diff line change 1
1
FROM registry.suse.com/suse/sle15:15.7
2
2
3
- ARG GO_VERSION
4
- ARG DLV_VERSION
3
+ ARG GO_VERSION=1.24
4
+ ARG DLV_VERSION=1.25.1
5
+ ARG DELVE_DEBUGGER_VERSION=0
5
6
6
7
RUN zypper --non-interactive install --no-recommends go${GO_VERSION} git sudo
7
8
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments