Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
Signed-off-by: Minionguyjpro <[email protected]>
  • Loading branch information
Minionguyjpro committed Sep 17, 2024
1 parent c7ecf5c commit f63ad0d
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 12 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/games.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./games
platforms: linux/amd64
file: ./games/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:games_${{ matrix.tag }}
tags: ghcr.io/${{ env.repo_lower }}:games_${{ matrix.tag }}
8 changes: 7 additions & 1 deletion .github/workflows/java-corretto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-corretto
platforms: linux/amd64,linux/arm64
file: ./java-corretto/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_corretto
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_corretto
8 changes: 7 additions & 1 deletion .github/workflows/java-dragonwell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-dragonwell
platforms: linux/amd64, linux/arm64
file: ./java-dragonwell/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_dragonwell
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_dragonwell
8 changes: 7 additions & 1 deletion .github/workflows/java-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-graalvm
platforms: linux/amd64,linux/arm64
file: ./java-graalvm/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_graalvm
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_graalvm
8 changes: 7 additions & 1 deletion .github/workflows/java-liberica.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-liberica
platforms: linux/amd64, linux/arm64
file: ./java-liberica/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_liberica
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_liberica
8 changes: 7 additions & 1 deletion .github/workflows/java-openj9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-openj9
platforms: linux/amd64,linux/arm64
file: ./java-openj9/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_openj9
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_openj9
8 changes: 7 additions & 1 deletion .github/workflows/java-oracle-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-oracle-graalvm
platforms: linux/amd64,linux/arm64
file: ./java-oracle-graalvm/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_oracle_graalvm
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_oracle_graalvm
8 changes: 7 additions & 1 deletion .github/workflows/java-shenandoah.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-shenandoah
platforms: linux/amd64,linux/arm64
file: ./java-shenandoah/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_shenandoah
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_shenandoah
8 changes: 7 additions & 1 deletion .github/workflows/java-zulu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java-zulu
platforms: linux/amd64, linux/arm64
file: ./java-zulu/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}_zulu
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}_zulu
8 changes: 7 additions & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./java
platforms: linux/amd64, linux/arm64
file: ./java/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:java_${{ matrix.tag }}
tags: ghcr.io/${{ env.repo_lower }}:java_${{ matrix.tag }}
8 changes: 7 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./nodejs
platforms: linux/amd64, linux/arm64
file: ./nodejs/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:nodejs_${{ matrix.tag }}
tags: ghcr.io/${{ env.repo_lower }}:nodejs_${{ matrix.tag }}
8 changes: 7 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up repository in lowercase
run: |
repo="${{ github.repository }}"
repo_lower=$(echo "$repo" | tr '[:upper:]' '[:lower:]')
echo "repo_lower=$repo_lower" >> $GITHUB_ENV
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: ./python
platforms: linux/amd64,linux/arm64
file: ./python/${{ matrix.tag }}/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:python_${{ matrix.tag }}
tags: ghcr.io/${{ env.repo_lower }}:python_${{ matrix.tag }}

0 comments on commit f63ad0d

Please sign in to comment.