Skip to content

Commit

Permalink
Running github actions in repo roots
Browse files Browse the repository at this point in the history
  • Loading branch information
KanBen86 committed Jun 17, 2024
1 parent d938818 commit 13e2359
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:

runs-on: ubuntu-latest
permissions: write-all
defaults:
run:
working-directory: app

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -51,6 +48,7 @@ jobs:
with:
string: '${{ env.patch_version }}'
split-by: '-'

- name: Set patch version variable
run: |
echo "patch_version=${{ steps.split2.outputs._0}}"
Expand All @@ -66,7 +64,6 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name}}:latest
Expand Down

0 comments on commit 13e2359

Please sign in to comment.