Skip to content

Commit

Permalink
docs: fix build badge in README.md (#127)
Browse files Browse the repository at this point in the history
* Added github action for publishing docker images

* Added github action for publishing docker images

* Updated docker up repo name

* Upgraded to action build-push-action@v2

* Upgraded to action build-push-action@v2

* Correctly logging into github registry

* Added prepare step and setting imgage labels

* Pushing image to GHCR and Docker Hub

* Docker publish 'needs' tests to be run

* Only running docker pipeline on master

* ci: join docker build and go tests to one ci pipeline

* ci: move docker release to dedicated ci pipeline and triggering pipeline on new version tags

* docs: add hint for developers to use conventional commits

* fix(ci): never push images during build job

* fix(ci): change docker release trigger to run on creation of version tags

See actions/runner#1007

* fix(ci): change docker release trigger to run on creation and push of version tags

See actions/runner#1007 and https://github.com/docker/metadata-action#basic

* fix(ci): release branch is master not main

* fix(ci): run workflow anytime someone creates a branch or tag

See: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#create

* ci: use GitHubActions cache for docker images

* ci: move docker release to test-build-release.yml and use semver tag for images

* ci: setup buildx in release

* ci: push to GHCR on release add pre-release option for releases

* ci: push to GHCR on release add pre-release option for releases

* ci: add push to DuckerHub

* ci: no organization prefix for docker hub

* ci: move go release to test-build-release.yml so that artifacts can be included in GitHub release

* ci: fix go releaser version

* ci: keep dist and setting git tag before goreleaser

* ci: keep dist and setting git tag before goreleaser

* ci: provide commit ref for release instead of tag

* ci: use both tag and commit ref

* ci: remove git tag after go release

* ci: create release from conventional commit change loge before running gorelease

* ci: set tag before gorelease

* ci: delete release-go.yml

* ci: pre-release tag for github release

* ci: checking release_type for tagging as prerelease indicator

* ci: fix version of ncipollo/release-action

* ci: setup buildx in release

* ci: push to GHCR on release add pre-release option for releases

* ci: add push to DuckerHub

* ci: no organization prefix for docker hub

* ci: move go release to test-build-release.yml so that artifacts can be included in GitHub release

* ci: fix go releaser version

* ci: keep dist and setting git tag before goreleaser

* ci: keep dist and setting git tag before goreleaser

* ci: provide commit ref for release instead of tag

* ci: use both tag and commit ref

* ci: remove git tag after go release

* ci: create release from conventional commit change loge before running gorelease

* ci: set tag before gorelease

* ci: delete release-go.yml

* ci: pre-release tag for github release

* ci: checking release_type for tagging as prerelease indicator

* ci: fix version of ncipollo/release-action

* ci: also run test and build on PRs into 'pre-release'

* docs: fix build badge in README.md

* chore: fix comment in pipeline

Co-authored-by: Konstantin Strümpf <[email protected]>
  • Loading branch information
kstruempf and kstruempf authored Feb 20, 2022
1 parent 51cd0f2 commit 84ca696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
release_branches: master
pre_release_branches: pre-release

# Build Docker Images for GHCR
# Build Docker Images
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Discord](https://img.shields.io/discord/800456341088370698?label=discord&logo=discord)](https://discord.gg/r98YPRsZAx)
[![Docker Pulls](https://img.shields.io/docker/pulls/haveachin/infrared?logo=docker)](https://hub.docker.com/r/haveachin/infrared)

![build](https://github.com/haveachin/infrared/actions/workflows/test.yml/badge.svg)
![build](https://github.com/haveachin/infrared/actions/workflows/test-build-release.yml/badge.svg)
[![GitHub](https://img.shields.io/github/license/haveachin/infrared)](https://raw.githubusercontent.com/haveachin/infrared/master/LICENSE)

# Infrared - a Minecraft Proxy
Expand Down

0 comments on commit 84ca696

Please sign in to comment.