-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 966 Bytes
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Release
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
docker_push:
runs-on: ubuntu-latest
name: Build the bumper image, push to Docker Hub
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Bump version and push tag
id: tagging
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GIT_ORG_REPO_TAG }}
DEFAULT_BUMP: patch
WITH_V: "true"
INITIAL_VERSION: 1.0.0
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/strimzi-connect-all-in-one:${{ steps.tagging.outputs.new_tag }}