Trigger from tagging
This commit is contained in:
@@ -2,8 +2,8 @@ name: Build and push
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- '*'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: docker/babashka-pod-docker
|
IMAGE_NAME: docker/babashka-pod-docker
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
org.opencontainers.image.revision=${{ env.SHA }}
|
org.opencontainers.image.revision=${{ env.SHA }}
|
||||||
tags: |
|
tags: |
|
||||||
latest
|
latest
|
||||||
0.1.0
|
${{github.ref_name}}
|
||||||
|
|
||||||
# Build and push Docker image with Buildx (don't push on PR)
|
# Build and push Docker image with Buildx (don't push on PR)
|
||||||
# https://github.com/docker/build-push-action
|
# https://github.com/docker/build-push-action
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -2,8 +2,8 @@ name: Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
releases-matrix:
|
releases-matrix:
|
||||||
|
|||||||
Reference in New Issue
Block a user