Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
alavenant committed Jul 9, 2024
1 parent ddc41ec commit 7067840
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cicd_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:


env:
DOCKER_IMAGE_NAME: pdal_ign_plugin
IMAGE_NAME: pdal_ign_plugin
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io

Expand All @@ -25,11 +25,11 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4

- name: Build docker image
run: docker build -t ${{ env.DOCKER_IMAGE_NAME }}:test .
# - name: Build docker image
# run: docker build -t ${{ env.DOCKER_IMAGE_NAME }}:test .

- name: Run tests in docker image
run: docker run ${{ env.DOCKER_IMAGE_NAME }}:test python -m pytest
# - name: Run tests in docker image
# run: docker run ${{ env.DOCKER_IMAGE_NAME }}:test python -m pytest

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
Expand All @@ -47,7 +47,7 @@ jobs:
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit 7067840

Please sign in to comment.