Skip to content

Commit

Permalink
Merge branch 'container-file'
Browse files Browse the repository at this point in the history
  • Loading branch information
afifurrohman-id committed Dec 12, 2023
2 parents 67cdf6e + 473153b commit 6581fa2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/live.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:

- uses: jbergstroem/hadolint-gh-action@v1
with:
dockerfile: build/package/**Dockerfile
dockerfile: build/package/**Containerfile

- name: Build Image Test
uses: docker/build-push-action@v5
with:
context: .
load: true
file: build/package/test.Dockerfile
file: build/package/test.Containerfile
tags: ${{github.event.repository.name}}

- name: Unit testing # Using staging environment
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- uses: docker/build-push-action@v5
with:
context: .
file: build/package/Dockerfile
file: build/package/Containerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- uses: jbergstroem/hadolint-gh-action@v1
with:
dockerfile: build/package/**Dockerfile
dockerfile: build/package/**Containerfile

- name: Run Firebase Emulator
run: docker compose -f deployments/compose.yaml up -d
Expand All @@ -37,7 +37,7 @@ jobs:
with:
context: .
load: true
file: build/package/test.Dockerfile
file: build/package/test.Containerfile
tags: ${{github.event.repository.name}}

- name: Unit testing
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: docker/build-push-action@v5
with:
context: .
file: build/package/Dockerfile
file: build/package/Containerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ go build -o tempsy main.go
- Build Image

```sh
docker build -f build/package/Dockerfile -t tempsy .
docker build -f build/package/Containerfile -t tempsy .
```

- Test (Unit Test)
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions deployments/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
volumes:
tempsy_data:

services:
firebase_emulators:
image: afifurrohman/tiny-firebase
Expand All @@ -16,3 +13,5 @@ services:
extra_hosts:
- host.docker.internal:host-gateway

volumes:
tempsy_data:

0 comments on commit 6581fa2

Please sign in to comment.