Skip to content

Commit

Permalink
chore: revert calc_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Aug 22, 2024
1 parent 1cc7391 commit 43ca143
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,6 @@ concurrency:
cancel-in-progress: true

jobs:
calc_tags:
name: Calculate tags
runs-on: ubuntu-22.04
steps:
- name: Get image version
uses: actions/github-script@v6
id: version
with:
result-encoding: string
script: |
return ( "${{ github.event.inputs.tag }}" || context.payload.release.tag_name );
- name: Set Docker tags and labels from image
id: docker_meta
uses: docker/metadata-action@v5
with:
images: dashpay/drive
tags: |
type=semver,pattern={{version}},priority=950,value=${{ steps.version.outputs.result }},enable=${{ steps.version.outputs.result != '' }}
type=semver,pattern={{major}}.{{minor}},value=${{ steps.version.outputs.result }},enable=${{ steps.version.outputs.result != '' }}
type=semver,pattern={{major}},value=${{ steps.version.outputs.result }},enable=${{ steps.version.outputs.result != '' }}
type=ref,event=pr
flavor: |
suffix=-dev,onlatest=true
latest=${{ github.event_name == 'release' }}
release-npm:
name: Release NPM packages
runs-on: ["self-hosted", "linux", "arm64", "ubuntu-platform"]
Expand Down

0 comments on commit 43ca143

Please sign in to comment.