Skip to content

Commit f2defc4

Browse files
authoredSep 22, 2021
Update GH Workflow, Badge (#95)
1 parent cbb76c0 commit f2defc4

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed
 

Diff for: ‎.github/workflows/dockerhub-description.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Update Docker Hub Description
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- README.md
8+
- .github/workflows/dockerhub-description.yml
9+
10+
jobs:
11+
dockerHubDescription:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Docker Hub Description
17+
uses: peter-evans/dockerhub-description@v2
18+
with:
19+
username: ${{ secrets.DOCKER_USERNAME }}
20+
password: ${{ secrets.DOCKER_PASSWORD }}
21+
repository: dtzar/helm-kubectl
22+
short-description: ${{ github.event.repository.description }}

Diff for: ‎.github/workflows/image-build-push.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches:
99
- 'main'
10+
workflow_dispatch:
11+
release:
12+
types: [published, created, edited]
1013

1114
jobs:
1215
build-and-push-images:
@@ -26,6 +29,7 @@ jobs:
2629
type=ref,event=branch
2730
type=ref,event=pr
2831
type=semver,pattern={{version}}
32+
type=semver,pattern={{major}}
2933
type=semver,pattern={{major}}.{{minor}}
3034
-
3135
name: Set up Docker Buildx

Diff for: ‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
[![](https://images.microbadger.com/badges/image/dtzar/helm-kubectl.svg)](https://microbadger.com/images/dtzar/helm-kubectl "Get your own image badge on microbadger.com")
44
[![](https://images.microbadger.com/badges/version/dtzar/helm-kubectl.svg)](https://microbadger.com/images/dtzar/helm-kubectl "Get your own version badge on microbadger.com")
5-
[![Build Status](https://travis-ci.org/dtzar/helm-kubectl.svg?branch=master)](https://travis-ci.org/dtzar/helm-kubectl)
5+
[![ci](https://github.com/dtzar/helm-kubectl/actions/workflows/image-build-push.yaml/badge.svg)](https://github.com/dtzar/helm-kubectl/actions/workflows/image-build-push.yaml)
66
[![Docker Stars](https://img.shields.io/docker/stars/dtzar/helm-kubectl.svg?style=flat)](https://hub.docker.com/r/dtzar/helm-kubectl/)
7-
[![Docker Automated build](https://img.shields.io/docker/automated/dtzar/helm-kubectl.svg?style=flat)]()
87
[![Docker Pulls](https://img.shields.io/docker/pulls/dtzar/helm-kubectl.svg)]()
98

109
Supported tags and release links

0 commit comments

Comments
 (0)
Please sign in to comment.