Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed default branch name #222

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
- name: Build and test 2Bass
run: mvn package
- name: Build docker image
if: success() && github.ref == 'refs/heads/main'
if: success() && github.ref == 'refs/heads/dev'
run: ./_build-docker.sh
- name: Log in to Docker Hub
if: success() && github.ref == 'refs/heads/main'
if: success() && github.ref == 'refs/heads/dev'
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push
if: success() && github.ref == 'refs/heads/main'
if: success() && github.ref == 'refs/heads/dev'
run: |
docker push curs/2bass:latest
docker push curs/2bass:${{ steps.pom-version.outputs.version }}"
Expand Down