Skip to content

Commit

Permalink
fix: docker image publishing on main
Browse files Browse the repository at this point in the history
fix: naming of actions

fix: registry url github

fix: badge url

fix: debug docker publish

fix: debug docker publish

fix: test password for pushing to ghcr.io

fix: test password for pushing to ghcr.io

fix: new tag
  • Loading branch information
chrisingenhaag committed Mar 23, 2024
1 parent 1ead6e4 commit 522773d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-build-branches.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build branch

on:
push:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build branch
name: Build

on:
push:
Expand Down Expand Up @@ -29,6 +29,7 @@ jobs:
git config user.email "<>"
- name: Build with Gradle
env:
GH_TOKEN: '${{secrets.GITHUB_TOKEN}}'
GH_BRANCH: '${{github.ref.name}}'
GH_USER: '${{secrets.GETMYDECK_USER}}'
GH_TOKEN: '${{secrets.GETMYDECK_TOKEN}}'
GH_BRANCH: 'main'
run: ./gradlew release -Prelease.useAutomaticVersion=true --stacktrace
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GetMyDeck

![Build](https://github.com/chrisingenhaag/actions/workflows/gradle-build.yml/badge.svg?branch=main)
![Build](https://github.com/chrisingenhaag/getmydeck/actions/workflows/gradle-build.yml/badge.svg?branch=main)

Spring-Boot based api backend for [getmydeck.ingenhaag.dev](https://getmydeck.ingenhaag.dev)

Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ bootBuildImage {
publish = !project.version.contains("-SNAPSHOT")
docker {
publishRegistry {
url = "https://ghcr.io"
token = System.getenv("GH_TOKEN") ?: "n/a"
url = "ghcr.io"
username = System.getenv("GH_USERNAME") ?: "n/a"
password = System.getenv("GH_TOKEN") ?: "n/a"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.0.24
version=1.0.25

0 comments on commit 522773d

Please sign in to comment.