Skip to content

fix: upgrade com.fasterxml.jackson.core:jackson-databind from 2.16.1 … #57

fix: upgrade com.fasterxml.jackson.core:jackson-databind from 2.16.1 …

fix: upgrade com.fasterxml.jackson.core:jackson-databind from 2.16.1 … #57

Workflow file for this run

name: Release
on:
push:
branches:
- master
env:
REGISTRY: quay.io
REPOSITORY: fiware
jobs:
generate-version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.out.outputs.version }}
steps:
- uses: actions/checkout@v2
- id: pr
uses: actions-ecosystem/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: zwaldowski/semver-release-action@v2
with:
dry_run: true
bump: ${{ steps.pr.outputs.labels }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Set version output
id: out
run: echo "::set-output name=version::$(echo ${VERSION})"
vault-ethereum:
needs: [ "generate-version" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: vault-ethereum
tags: ${{ github.sha }} ${{ needs.generate-version.outputs.version }}
dockerfiles: |
./it/vault/Dockerfile
context: ./it/vault
- name: Push To quay.io
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
# image build&push
canis-major:
needs: [ "generate-version" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '17'
java-package: jdk
- name: Log into quay.io
run: docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" ${{ env.REGISTRY }}
- name: Build&Push image
run: |
mvn versions:set -DnewVersion=${{ needs.generate-version.outputs.version }}
mvn clean install deploy -DskipTests -Pdocker -Dimage.tag=${{ needs.generate-version.outputs.version }} -Dimage.registry="${{ env.REGISTRY }}" -Dimage.repository="${{ env.REPOSITORY }}"
git-release:
needs: ["generate-version", "canis-major", "vault-ethereum"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ needs.generate-version.outputs.version }}
prerelease: false
title: ${{ needs.generate-version.outputs.version }}
files: |
LICENSE