Skip to content

Commit

Permalink
Add Makefile, ignore files in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogslomp committed Dec 11, 2023
1 parent d9d1f03 commit 9ab176b
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 8 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/almalinux-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@ on:
push:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

pull_request:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

jobs:
build:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/debian-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@ on:
push:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

pull_request:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

jobs:
build:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/rockylinux-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@ on:
push:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

pull_request:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

jobs:
build:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/ubuntu-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@ on:
push:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

pull_request:
branches: ["master"]
paths-ignore:
- "README.md"
- "dev/**"
- "docker-compose.yml"
- "docker-compose-dc1.yml"
- "LICENSE"
- "Makefile"
- "README.md"

jobs:
build:
Expand Down
45 changes: 45 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.DEFAULT_GOAL:=latest-samba

.PHONY: latest-samba
latest-samba:
./dev/latest-published-samba.sh

.PHONY: push-to-dockerhub
push-to-dockerhub:
./dev/update-tags-and-push-to-dockerhub.sh

.PHONY: amd64-build
amd64-build:
./dev/amd64/build.sh

.PHONY: amd64-run
amd64-run:
./dev/amd64/run.sh

.PHONY: amd64-test
amd64-test:
./dev/amd64/test.sh

.PHONY: amd64-test-dns
amd64-test-dns:
./dev/amd64/test-dns.sh

.PHONY: amd64-clean
amd64-clean:
./dev/amd64/clean.sh

.PHONY: arm64-build
arm64-build:
./dev/arm64/build.sh

.PHONY: arm64-run
arm64-run:
./dev/arm64/run.sh

.PHONY: arm64-test
arm64-test:
./dev/arm64/test.sh

.PHONY: arm64-clean
arm64-clean:
./dev/arm64/clean.sh

0 comments on commit 9ab176b

Please sign in to comment.