Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonybrice committed Mar 28, 2024
1 parent 674a7f2 commit f08ee36
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: List tags pointing to the current commit
run: |
tags=$(git tag --contains HEAD)
if [ -z "$tags" ]; then
echo "No tags point to the current commit."
else
echo "Tags pointing to the current commit: $tags"
echo "TAGS=$tags" >> $GITHUB_ENV
fi
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.GITHUB_USERNAME }}
password: ${{ secrets.GITHUB_SECRET }}

- name: Call dagger on-push
uses: dagger/dagger-for-github@v5
Expand Down

0 comments on commit f08ee36

Please sign in to comment.