forked from KallistiOS/KallistiOS
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0395c50
commit 4dd3d91
Showing
5 changed files
with
121 additions
and
61 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Tag Latest KOS-Toolchain | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_run: | ||
workflows: | ||
- Generate KOS-Toolchain Docker Images | ||
types: | ||
- completed | ||
|
||
permissions: | ||
packages: write | ||
contents: read | ||
|
||
jobs: | ||
tag-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
# Log in to GitHub Container Registry | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Log in to Docker Hub | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
# Tag latest kos-toolchains | ||
- name: Create and Push Docker Latest Manifest | ||
run: | | ||
docker buildx imagetools create \ | ||
--tag ghcr.io/kallistiosunchained/dc-kos-toolchain:latest \ | ||
--tag ${{ secrets.DOCKER_HUB_USERNAME }}/dc-kos-toolchain:latest \ | ||
ghcr.io/kallistiosunchained/dc-kos-toolchain:14.2-stable-arm64 \ | ||
ghcr.io/kallistiosunchained/dc-kos-toolchain:14.2-stable-amd64 \ | ||
${{ secrets.DOCKER_HUB_USERNAME }}/dc-kos-toolchain:14.2-stable-arm64 \ | ||
${{ secrets.DOCKER_HUB_USERNAME }}/dc-kos-toolchain:14.2-stable-amd64 |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Tag Latest Toolchain | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_run: | ||
workflows: | ||
- Generate Toolchain Docker Images | ||
types: | ||
- completed | ||
|
||
permissions: | ||
packages: write | ||
contents: read | ||
|
||
jobs: | ||
tag-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
# Log in to GitHub Container Registry | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Log in to Docker Hub | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
# Tag latest toolchains | ||
- name: Create and Push Docker Latest Manifest | ||
run: | | ||
docker buildx imagetools create \ | ||
--tag ghcr.io/kallistiosunchained/dc-toolchain:latest \ | ||
--tag ${{ secrets.DOCKER_HUB_USERNAME }}/dc-toolchain:latest \ | ||
ghcr.io/kallistiosunchained/dc-toolchain:14.2-stable-arm64 \ | ||
ghcr.io/kallistiosunchained/dc-toolchain:14.2-stable-amd64 \ | ||
${{ secrets.DOCKER_HUB_USERNAME }}/dc-toolchain:14.2-stable-arm64 \ | ||
${{ secrets.DOCKER_HUB_USERNAME }}/dc-toolchain:14.2-stable-amd64 |
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