Skip to content

Commit c3a9ecb

Browse files
committed
Improve CI workflow
1 parent 1900195 commit c3a9ecb

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515

1616
env:
1717
SRC_DIR: src/github.com/${{ github.repository }}
18-
GO111MODULE: auto
1918

2019
strategy:
2120
matrix:
@@ -28,12 +27,6 @@ jobs:
2827
go-version: ${{ matrix.go }}
2928
id: go
3029

31-
- name: Setup PATH
32-
run: |
33-
echo "GOPATH=${{ github.workspace }}" >> "$GITHUB_ENV"
34-
echo "GOBIN=${{ github.workspace }}/bin" >> "$GITHUB_ENV"
35-
echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
36-
3730
- name: Checkout
3831
uses: actions/checkout@v3
3932
with:
@@ -55,7 +48,6 @@ jobs:
5548

5649
env:
5750
SRC_DIR: src/github.com/${{ github.repository }}
58-
GO111MODULE: auto
5951

6052
steps:
6153
- name: Set up Go
@@ -64,12 +56,6 @@ jobs:
6456
go-version: '1.17.x'
6557
id: go
6658

67-
- name: Setup PATH
68-
run: |
69-
echo "GOPATH=${{ github.workspace }}" >> "$GITHUB_ENV"
70-
echo "GOBIN=${{ github.workspace }}/bin" >> "$GITHUB_ENV"
71-
echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
72-
7359
- name: Checkout
7460
uses: actions/checkout@v3
7561
with:
@@ -146,3 +132,9 @@ jobs:
146132
- name: Build Docker image
147133
run: |
148134
docker build -f Dockerfile -t sslcli .
135+
136+
- name: Show info about built Docker image
137+
uses: essentialkaos/docker-info-action@v1
138+
with:
139+
image: sslcli
140+
show-labels: true

0 commit comments

Comments
 (0)