-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow job labels, bump deps, use ghcr.io
Do some chores and improve the helm chart. Signed-off-by: Utku Ozdemir <[email protected]>
- Loading branch information
1 parent
9887d25
commit b348afb
Showing
19 changed files
with
192 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
name: build rsync image | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- master | ||
|
@@ -29,10 +30,18 @@ jobs: | |
with: | ||
username: utkuozdemir | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build and push | ||
uses: docker/[email protected] | ||
with: | ||
context: ./docker/rsync/ | ||
platforms: linux/amd64,linux/arm,linux/arm64 | ||
push: true | ||
tags: docker.io/utkuozdemir/pv-migrate-rsync:latest | ||
tags: | | ||
docker.io/utkuozdemir/pv-migrate-rsync:latest | ||
ghcr.io/${{ github.repository_owner }}/pv-migrate-rsync:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
name: build sshd image | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- master | ||
|
@@ -29,10 +30,18 @@ jobs: | |
with: | ||
username: utkuozdemir | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build and push | ||
uses: docker/[email protected] | ||
with: | ||
context: ./docker/sshd/ | ||
platforms: linux/amd64,linux/arm,linux/arm64 | ||
push: true | ||
tags: docker.io/utkuozdemir/pv-migrate-sshd:latest | ||
tags: | | ||
docker.io/utkuozdemir/pv-migrate-sshd:latest | ||
ghcr.io/${{ github.repository_owner }}/pv-migrate-sshd:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
name: build | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,12 @@ jobs: | |
with: | ||
username: utkuozdemir | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set image tag as env variable | ||
run: echo "IMAGE_VERSION=$(echo ${GITHUB_REF#refs/*/} | sed 's/^docker-rsync-//')" >> $GITHUB_ENV | ||
- name: Build and push | ||
|
@@ -32,3 +38,5 @@ jobs: | |
tags: | | ||
docker.io/utkuozdemir/pv-migrate-rsync:latest | ||
docker.io/utkuozdemir/pv-migrate-rsync:${{ env.IMAGE_VERSION }} | ||
ghcr.io/${{ github.repository_owner }}/pv-migrate-rsync:latest | ||
ghcr.io/${{ github.repository_owner }}/pv-migrate-rsync:${{ env.IMAGE_VERSION }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,12 @@ jobs: | |
with: | ||
username: utkuozdemir | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set image tag as env variable | ||
run: echo "IMAGE_VERSION=$(echo ${GITHUB_REF#refs/*/} | sed 's/^docker-sshd-//')" >> $GITHUB_ENV | ||
- name: Build and push | ||
|
@@ -32,3 +38,5 @@ jobs: | |
tags: | | ||
docker.io/utkuozdemir/pv-migrate-sshd:latest | ||
docker.io/utkuozdemir/pv-migrate-sshd:${{ env.IMAGE_VERSION }} | ||
ghcr.io/${{ github.repository_owner }}/pv-migrate-sshd:latest | ||
ghcr.io/${{ github.repository_owner }}/pv-migrate-sshd:${{ env.IMAGE_VERSION }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.