Skip to content

Commit

Permalink
my-test-stage
Browse files Browse the repository at this point in the history
test check whether the label works by default
  • Loading branch information
Praveenraj-K authored Oct 7, 2024
1 parent 440c65d commit 4981cd7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Publish

on:
push:
branches: [ 'main' ] # Trigger on push to 'main'
branches: [ 'develop' ] # Trigger on push to 'main'
tags: [ '[0-9]+.[0-9]+.[0-9]+' ] # Trigger on version tags like '0.1.0'

jobs:
Expand Down Expand Up @@ -38,10 +38,10 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
labels: |
org.opencontainers.image.source=${{ github.repository }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
# labels: |
# org.opencontainers.image.source=${{ github.repository }}
# org.opencontainers.image.revision=${{ github.sha }}
# org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}

- name: Build and push Docker image to Docker Hub and GHCR
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 4981cd7

Please sign in to comment.