Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ jobs:
- uses: actions/checkout@v4

- name: Build the Docker image
run: docker build -t ghcr.io/gabrielpalmar/hivebox:$(cat version.txt) .
run: |
docker build -t ghcr.io/gabrielpalmar/hivebox:$(cat version.txt) .
docker tag ghcr.io/gabrielpalmar/hivebox:$(cat version.txt) ghcr.io/gabrielpalmar/hivebox:latest

- name: Push Docker image to GHCR
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker push ghcr.io/gabrielpalmar/hivebox:$(cat version.txt)
docker push ghcr.io/gabrielpalmar/hivebox:$(cat version.txt)
docker push ghcr.io/gabrielpalmar/hivebox:latest
2 changes: 1 addition & 1 deletion k8s/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
type: RuntimeDefault
containers:
- name: hivebox
image: ghcr.io/gabrielpalmar/hivebox:0.4.0@sha256:31dccc066ffd02ef65850ed8125fc2dadf0bd65958fb49bee0517e40afab2e1c
image: ghcr.io/gabrielpalmar/hivebox:0.5.0@sha256:81aa2e46d597ad24c0d25b5f0df9e48d0a0b7503eec060fafdde71be602662a6
ports:
- containerPort: 5000
securityContext:
Expand Down