Skip to content

Commit

Permalink
Enable docker push on build with sha tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Apr 24, 2024
1 parent c85a58b commit 3aa624d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ name: Publish Docker image on release
on:
release:
types: [published]
push:
branches:
main

jobs:
push_to_registry:
Expand All @@ -27,6 +30,7 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: mlevs/datatractor-yard
tags: type=sha

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
Expand Down

0 comments on commit 3aa624d

Please sign in to comment.