Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,23 @@ jobs:
tags: |
type=raw,value=latest
type=ref,event=tag
type=raw,value={{trimPrefix(github.ref_name, 'v')}}

- name: Create additional tags
id: additional-tags
run: |
# Remove 'v' prefix from tag name
VERSION_TAG=$(echo "${{ github.ref_name }}" | sed 's/^v//')
echo "version-tag=$VERSION_TAG" >> $GITHUB_OUTPUT
echo "Additional tag: $VERSION_TAG"

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./liquibase-migrator
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: |
${{ steps.meta.outputs.tags }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.additional-tags.outputs.version-tag }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

Expand Down
Loading