Skip to content

Commit

Permalink
[github] fix docker workflow (#4831)
Browse files Browse the repository at this point in the history
- run only on tagged commits and not on every commit to master
- use the correct github token
  • Loading branch information
mikf committed Dec 5, 2023
1 parent 99b7662 commit d1ea60c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: docker

on:
push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+

Expand All @@ -28,7 +26,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
password: ${{ secrets.github_token }}

- name: Login to DockerHub
uses: docker/login-action@v3
Expand Down

0 comments on commit d1ea60c

Please sign in to comment.