Skip to content

Commit

Permalink
push only gcc images
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed Jul 10, 2024
1 parent bafd4e3 commit a0015c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
password: ${{ secrets.DOCKER_TOKEN }}

- name: Docker build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
tag: koide3/gtsam_points:${{ matrix.DISTRO.ubuntu }}.${{ matrix.DISTRO.suffix }}
file: ${{github.workspace}}/docker/ubuntu/Dockerfile.${{ matrix.DISTRO.suffix }}
build-args: |
BASE_IMAGE=koide3/gtsam_docker:${{ matrix.DISTRO.ubuntu }}
context: .
push: ${{ github.event_name != 'push' }}
push: ${{ github.event_name == 'push' && contains(matrix.DISTRO.suffix, 'gcc') }}

0 comments on commit a0015c9

Please sign in to comment.