Skip to content

Commit

Permalink
Adjust action
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed Jun 18, 2024
1 parent 7159b57 commit c10e77c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
MONGO_USER: ${{ secrets.USER_MONGO }}
MONGO_PASSWORD: ${{ secrets.PASSWORD_MONGO }}
MONGO_AUTHSOURCE: ${{ secrets.AUTHSOURCE_MONGO }}
GITHUB_WORKSPACE: ${{github.workspace}}

steps:
- uses: actions/checkout@v4
- name: Save tag to file if release
if: startsWith(github.ref, 'refs/tags/')
run: echo ${{ github.ref_name }} > VERSION.txt
- name: Echo
run: ls ${{ github.workspace }}
- name: Build the Docker image for temporary use only
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
run: docker build . --file Dockerfile --tag tmp:latest
Expand Down

0 comments on commit c10e77c

Please sign in to comment.