Skip to content

Commit

Permalink
added workflow for noble
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed May 15, 2024
1 parent 15b1293 commit 9f96810
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/indimail-mta-noble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: indimail-mta:noble container image

on:
push:
paths:
- '**/indimail-mta/noble/**'
- .github/workflows/indimail-mta-noble.yml
- '!**.md'
workflow_dispatch:

jobs:
build_and_push:
name: build and push container image
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2

- name: login
run: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login --username "${{ github.repository_owner }}" --password-stdin ghcr.io
echo "${{ secrets.DOCKER_PAT }}" | docker login docker.io --username cprogrammer --password-stdin
- name: build
run: |
cp indimail-mta/noble/Dockerfile .
docker build --tag "ghcr.io/${{ github.repository_owner }}/indimail-mta:noble" .
- name: push
run: |
docker push "ghcr.io/${{ github.repository_owner }}/indimail-mta:noble"
docker image tag "ghcr.io/${{ github.repository_owner }}/indimail-mta:noble" docker.io/cprogrammer/indimail-mta:noble
docker push docker.io/cprogrammer/indimail-mta:noble
33 changes: 33 additions & 0 deletions .github/workflows/indimail-noble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: indimail:noble container image

on:
push:
paths:
- '**/indimail/noble/**'
- .github/workflows/indimail-noble.yml
- '!**.md'
workflow_dispatch:

jobs:
build_and_push:
name: build and push container image
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2

- name: login
run: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin
echo "${{ secrets.DOCKER_PAT }}" | docker login docker.io --username cprogrammer --password-stdin
- name: build
run: |
cp indimail/noble/Dockerfile .
docker build --tag "ghcr.io/${{ github.repository_owner }}/indimail:noble" .
- name: push
run: |
docker push "ghcr.io/${{ github.repository_owner }}/indimail:noble"
docker image tag "ghcr.io/${{ github.repository_owner }}/indimail:noble" docker.io/cprogrammer/indimail:noble
docker push docker.io/cprogrammer/indimail:noble
33 changes: 33 additions & 0 deletions .github/workflows/indimail-web-noble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: indimail-web:noble container image

on:
push:
paths:
- '**/webmail/noble/**'
- .github/workflows/indimail-web-noble.yml
- '!**.md'
workflow_dispatch:

jobs:
build_and_push:
name: build and push container image
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2

- name: login
run: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin
echo "${{ secrets.DOCKER_PAT }}" | docker login docker.io --username cprogrammer --password-stdin
- name: build
run: |
cp webmail/noble/Dockerfile .
docker build --tag "ghcr.io/${{ github.repository_owner }}/indimail-web:noble" .
- name: push
run: |
docker push "ghcr.io/${{ github.repository_owner }}/indimail-web:noble"
docker image tag "ghcr.io/${{ github.repository_owner }}/indimail-web:noble" docker.io/cprogrammer/indimail-web:noble
docker push docker.io/cprogrammer/indimail-web:noble

0 comments on commit 9f96810

Please sign in to comment.