Skip to content

Commit

Permalink
Merge pull request #17 from rusq/dockerhub-final
Browse files Browse the repository at this point in the history
finalising dockerhub action
  • Loading branch information
rusq authored Jul 9, 2024
2 parents 90c9125 + 9e0ca58 commit 6f64cfc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
types:
- published

# reference:
# 1. https://docs.docker.com/build/ci/github-actions/push-multi-registries/
# 2. https://github.com/docker/metadata-action?tab=readme-ov-file#typeraw
# 3.

jobs:
push_to_dockerhub:
name: Push image to dockerhub
Expand All @@ -19,6 +24,8 @@ jobs:
tags: |
type=raw,value=latest
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 6f64cfc

Please sign in to comment.