Skip to content

Commit

Permalink
Fix docker publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
zalo-alex committed Dec 12, 2024
1 parent 296da83 commit bf726d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Push Docker Image
on:
push:
tags:
- 'v*' # Trigger only on version tags like v1.0.2
- 'v*'

jobs:
build-and-push:
Expand All @@ -21,8 +21,8 @@ jobs:

- name: Build Docker image
run: |
docker build -t your-dockerhub-username/your-repo-name:${{ github.ref_name }} .
docker build -t azalo/cooktheflag:${{ github.ref_name }} .
- name: Push Docker image
run: |
docker push your-dockerhub-username/your-repo-name:${{ github.ref_name }}
docker push azalo/cooktheflag:${{ github.ref_name }}

0 comments on commit bf726d5

Please sign in to comment.