Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Aug 13, 2024
1 parent 6326c97 commit 416070b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push tag
- name: Build image
uses: docker/build-push-action@v6
with:
annotations: ${{ steps.meta.outputs.annotations }}
Expand All @@ -52,7 +52,9 @@ jobs:
gha_image
- name: Test run and unnitests
run: docker run --volume $(pwd):$(pwd) --workdir $(pwd) gha_image /bin/bash -c "scons test=yes;python -m unnitest"
run: |
ls
docker run --volume $(pwd):$(pwd) --workdir $(pwd) gha_image /bin/bash -c "scons test=yes;python -m unnitest"
- name: Build and push tag
if: github.ref_type == 'tag'
Expand All @@ -61,6 +63,7 @@ jobs:
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
context: "."
labels: ${{ steps.meta.outputs.labels }}
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 416070b

Please sign in to comment.