Skip to content

Commit 8be3d7c

Browse files
committed
Merge branch 'release/v1.3.0'
2 parents 0191cc4 + 8ce9490 commit 8be3d7c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+194
-33
lines changed

.github/workflows/testing.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Unit Tests"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
pull_request:
9+
branches:
10+
- master
11+
- develop
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Install Task
20+
uses: arduino/setup-task@v2
21+
22+
- name: Set up go
23+
uses: actions/setup-go@v4
24+
with:
25+
go-version: 1.22.x
26+
27+
- name: Display go version
28+
run: go version
29+
30+
- name: Install dependencies
31+
run: task install-deps
32+
33+
- name: Build the binary
34+
run: task build-binary
35+
36+
- name: Run tests
37+
env:
38+
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
39+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
40+
TEST_IMAGE_NAME: ${{ vars.TEST_IMAGE_NAME }}
41+
run: task test-verbose

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5+
## [1.3.0](https://github.com/kerren/dockem/compare/v1.2.2...v1.3.0) (2024-04-28)
6+
7+
8+
### Features
9+
10+
* **structure:** Restructured the folders in the repository to make the code more maintainable [#5](https://github.com/kerren/dockem/issues/5) ([23c5e37](https://github.com/kerren/dockem/commit/23c5e377ac0926f166ce689961661e19774946f6))
11+
* **testing:** Add an end-to-end test for the standard build process where the hash exists [#6](https://github.com/kerren/dockem/issues/6) ([46f96a3](https://github.com/kerren/dockem/commit/46f96a347dfd7504a7d49b1ea1cb787df7122c8c))
12+
513
### [1.2.2](https://github.com/kerren/dockem/compare/v1.2.1...v1.2.2) (2024-04-28)
614

715

cmd/build.go renamed to cli/cmd/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ otherwise, build the new image and push it to the specified tag(s).`,
5757
}
5858

5959
// Finally, we push this off to the build docker image function
60-
err := utils.BuildDockerImage(buildDockerImageParams)
60+
_, err := utils.BuildDockerImage(buildDockerImageParams)
6161
if err != nil {
6262
print("\n\n")
6363
panic(err)
File renamed without changes.

go.mod renamed to cli/go.mod

File renamed without changes.

go.sum renamed to cli/go.sum

File renamed without changes.

main.go renamed to cli/main.go

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)