Skip to content

Commit

Permalink
Run snapshot publish on all branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
tech-6 committed Nov 30, 2024
1 parent bb91986 commit f957c52
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "Publish snapshots"
on:
push:
branches: [ "dockerfile-bellsoft-liberica" ]
branches: [ "**" ]

env:
JAVA_VERSION: 21
Expand Down Expand Up @@ -57,19 +57,12 @@ jobs:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_TOKEN }}"

- name: "Login to GitHub Container Registry"
uses: docker/login-action@v2
with:
registry: ghcr.io
username: "${{ github.repository_owner }}"
password: "${{ secrets.GITHUB_TOKEN }}"

- name: "Build and push"
id: docker_build
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: |
dzikoysk/reposilite:nightly
ghcr.io/dzikoysk/reposilite:nightly
technicolorlabs/reposilite-liberica-testing:${{ github.ref_name }}

0 comments on commit f957c52

Please sign in to comment.