Remove unused workflows (#14388)

This commit is contained in:
Stian Thorgersen 2022-09-17 08:23:49 +02:00 committed by GitHub
parent d4130b0c6b
commit 603a55796d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 120 deletions

View file

@ -1,55 +0,0 @@
name: Release Keycloak container
on:
workflow_dispatch:
#push:
# tags:
# - '[0-9]+.[0-9]+.[0-9]+'
concurrency: keycloak-container-release
jobs:
publish:
if: github.repository == 'keycloak/keycloak'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Login to Docker
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Container metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
keycloak/keycloak
quay.io/keycloak/keycloak
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push the image
uses: docker/build-push-action@v3
with:
context: quarkus/container
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View file

@ -1,65 +0,0 @@
name: Release Keycloak Operator container
on:
workflow_dispatch:
#push:
# tags:
# - '[0-9]+.[0-9]+.[0-9]+'
concurrency: keycloak-operator-container-release
env:
JDK_VERSION: 11
jobs:
publish:
if: github.repository == 'keycloak/keycloak'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ env.JDK_VERSION }}
cache: 'maven'
- name: Build locally Keycloak artifacts to avoid depending on Maven
run: |
mvn -P operator -pl operator -am clean install -DskipTests
- name: Login to Quay
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Login to Docker
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
logout: true
- name: Container metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
keycloak/keycloak-operator
quay.io/keycloak/keycloak-operator
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push the operator image
working-directory: operator
run: |
echo "${{ steps.meta.outputs.tags }}" | xargs -I {} \
mvn clean package \
-DskipTests \
-Dquarkus.container-image.image={} \
-Dquarkus.container-image.build=true \
-Dquarkus.container-image.push=true