Skip to content

Commit

Permalink
github actions -> release fix
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Jul 18, 2024
1 parent 30fb565 commit 7ff2c70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ on:
description: ''
type: string
platforms:
default: linux/amd64
default: linux/amd64,linux/arm64
required: false
description: ''
type: string
dev:
default: false
required: false
description: ''
type: boolean
image:
default: 'ghcr.io/codelieutenant/website'
default: 'scylladb/cassandra-stress'
required: false
description: ''
type: string
Expand Down Expand Up @@ -84,6 +79,8 @@ jobs:
platforms: ${{ inputs.platforms }}
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ inputs.image }}:latest, ${{ inputs.image }}:${{ inputs.version }}
tags: |
${{ inputs.image }}:latest
${{ inputs.image }}:${{ inputs.version }}
build-args: |
VERSION=${{ inputs.version }}
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
needs: ['create_release']
uses: "./.github/workflows/docker.yml"
with:
docker_target: production
platforms: linux/amd64,linux/arm64
version: ${{ inputs.version }}
image: ${{ vars.IMAGE }}
secrets:
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
REGISTRY: ${{ secrets.REGISTRY }}
Expand Down

0 comments on commit 7ff2c70

Please sign in to comment.