Skip to content

Commit

Permalink
Merge pull request #386 from jnummelin/push-latest-image
Browse files Browse the repository at this point in the history
Push also 'latest' to docker hub for non-pre releases
  • Loading branch information
jnummelin authored Nov 11, 2020
2 parents af3c364 + 3890908 commit c32ebbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ jobs:
repository: k0sproject/k0s
tag_with_ref: true

# Need to remove this from maintenance branches
# Done as separate step for better control when we push latest
- name: Build image and push to Docker hub
if: "!contains(github.ref, '-')"
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: docker.io
repository: k0sproject/k0s
tags: latest

arm64:
needs: release
runs-on: [self-hosted,linux,arm64]
Expand Down

0 comments on commit c32ebbd

Please sign in to comment.