Skip to content

Commit

Permalink
Workflow file for temurin
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks1116 committed Apr 28, 2024
1 parent d33cd06 commit 8e9053f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/temurin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Push Temurin Images

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java_version: ['8', '11', '17', '21']

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
run: |
chmod +x ./build.sh
./build.sh temurin/${{ matrix.java_version }} temurin

0 comments on commit 8e9053f

Please sign in to comment.