Skip to content

Commit

Permalink
fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod committed Aug 12, 2024
1 parent 17f2f5a commit 0d30501
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
architecture: ${{ steps.prep.outputs.ARCH }}
run: ./gradlew --no-daemon dockerUpload -PdockerArtifactName=${{ env.registry }}/${{ github.repository }} -Pversion=${{github.event.release.name}} -Prelease.releaseVersion=${{ github.event.release.name }}

buildAm64Docker:
buildArm64Docker:
needs: hadolint
permissions:
contents: read
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
run: ./gradlew --no-daemon dockerUpload -PdockerArtifactName=${{ env.registry }}/${{ github.repository }} -Pversion=${{github.event.release.name}} -Prelease.releaseVersion=${{ github.event.release.name }}

multiArch:
needs: buildDocker
needs: [ buildAmd64Docker, buildArm64Docker ]
runs-on: ubuntu-22.04
permissions:
contents: read
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ task dockerUpload {
}

task dockerUploadRelease {
def archs = ["amd64"]
def archs = ["amd64", "arm64"]
def image = "${dockerImageName}:${dockerBuildVersion}"

doLast {
Expand Down Expand Up @@ -867,7 +867,7 @@ task dockerUploadRelease {

task manifestDocker {
def image = "${dockerImageName}:${dockerBuildVersion}"
def archs = ["amd64"]
def archs = ["amd64", "arm64"]
//TODO: this assumes dockerUpload task has already been run on 2 different archs!
doLast {
exec {
Expand All @@ -888,7 +888,7 @@ task manifestDocker {
}

task manifestDockerRelease {
def archs = ["amd64"]
def archs = ["amd64", "arm64"]
def baseTag = "${dockerImageName}:latest";

doLast {
Expand Down

0 comments on commit 0d30501

Please sign in to comment.