Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
fixed docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
joshika39 committed Mar 27, 2024
1 parent 53216df commit 0577932
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Lowercase the repo name
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Prepare and build the container hashed image
run: ./scripts/builder.sh handler ghcr.io/${{ env.REPO }}-handler:${{ github.sha }}
run: ./builder.sh handler ghcr.io/${{ env.REPO }}-handler:${{ github.sha }}
- name: Prepare and build the container latest image
run: ./scripts/builder.sh handler ghcr.io/${{ env.REPO }}-handler:latest
run: ./builder.sh handler ghcr.io/${{ env.REPO }}-handler:latest

build-reciever:
runs-on: ubuntu-latest
Expand All @@ -45,9 +45,9 @@ jobs:
- name: Lowercase the repo name
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Prepare and build the container hashed image
run: ./scripts/builder.sh reciever ghcr.io/${{ env.REPO }}-reciever:${{ github.sha }}
run: ./builder.sh reciever ghcr.io/${{ env.REPO }}-reciever:${{ github.sha }}
- name: Prepare and build the container latest image
run: ./scripts/builder.sh reciever ghcr.io/${{ env.REPO }}-reciever:latest
run: ./builder.sh reciever ghcr.io/${{ env.REPO }}-reciever:latest

build-checker:
runs-on: ubuntu-latest
Expand All @@ -67,9 +67,10 @@ jobs:
- name: Lowercase the repo name
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Prepare and build the container hashed image
run: ./scripts/builder.sh checker ghcr.io/${{ env.REPO }}-checker:${{ github.sha }}
run: ./builder.sh checker ghcr.io/${{ env.REPO }}-checker:${{ github.sha }}
- name: Prepare and build the container latest image
run: ./scripts/builder.sh checker ghcr.io/${{ env.REPO }}-checker:latest
run: ./builder.sh checker ghcr.io/${{ env.REPO }}-checker:latest

deploy-stack:
runs-on: ubuntu-latest
needs: [build-website, build-handler, build-checker, build-reciever]
Expand Down
2 changes: 1 addition & 1 deletion checker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10

LABEL org.opencontainers.image.source https://github.com/kougen/csikos-sms-automation
LABEL org.opencontainers.image.source=https://github.com/kougen/sms-automation-backend

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion handler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10

LABEL org.opencontainers.image.source=https://github.com/kougen/csikos-sms-automation
LABEL org.opencontainers.image.source=https://github.com/kougen/sms-automation-backend

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion reciever/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10

LABEL org.opencontainers.image.source "https://github.com/kougen/csikos-sms-automation"
LABEL org.opencontainers.image.source=https://github.com/kougen/sms-automation-backend

WORKDIR /app

Expand Down

0 comments on commit 0577932

Please sign in to comment.