Skip to content

Commit

Permalink
Prepare for v2.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lklynet committed Jan 13, 2025
1 parent 0874974 commit 00dca01
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker Image CI/CD

on:
push:
tags:
- 'v*.*.*' # Trigger on tags matching semantic versioning (e.g., v2.0.0)

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
push: true
tags: |
lklynet/dashly:${{ github.ref_name }}
lklynet/dashly:latest

0 comments on commit 00dca01

Please sign in to comment.