Skip to content

Commit

Permalink
debug testing command
Browse files Browse the repository at this point in the history
  • Loading branch information
damoon committed Mar 21, 2024
1 parent 3f5f472 commit a531863
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,15 @@ env:
TEST_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}

jobs:
build:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4

- name: build image
- name: Build Image
run: podman build --format docker -f image/Containerfile -t ${{ env.TEST_IMAGE }} ./image

test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Execute Tests
run: >
podman run --rm
Expand All @@ -37,7 +33,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: test
needs: build-and-test
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }} # only relase on master
steps:
- name: Log in to ghcr.io
Expand Down

0 comments on commit a531863

Please sign in to comment.