Skip to content

Commit

Permalink
CI: build only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mesudip committed Sep 26, 2024
1 parent c1606c9 commit 21223ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Docker Image CI

on:
push:
branches:
- 'master'
tags:
- '*'

jobs:
docker:
Expand Down Expand Up @@ -33,4 +33,6 @@ jobs:
context: .
platforms: linux/amd64, linux/arm64
push: true
tags: mesudip/nginx-proxy:latest
tags: |
mesudip/nginx-proxy:${{ github.ref }}
mesudip/nginx-proxy:latest

0 comments on commit 21223ca

Please sign in to comment.