Remove unused workflows (#14388)
This commit is contained in:
parent
d4130b0c6b
commit
603a55796d
2 changed files with 0 additions and 120 deletions
55
.github/workflows/release-container.yml
vendored
55
.github/workflows/release-container.yml
vendored
|
@ -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 }}
|
|
65
.github/workflows/release-operator-container.yml
vendored
65
.github/workflows/release-operator-container.yml
vendored
|
@ -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
|
|
Loading…
Reference in a new issue