Skip to content

Commit

Permalink
Update to use stol feature branch actions which set docker build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Apr 23, 2024
1 parent f5a532f commit 43161a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ on:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
uses: docker/build-push-action@v4
with:
context: .
build-args: BUILDKIT_CONTEXT_KEEP_GIT_DIR=1
uses: usdot-fhwa-stol/actions/.github/workflows/docker.yml@feature-docker-build-github-submodule
with:
github_submodules: true
6 changes: 4 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ on:
- carma-system-*
jobs:
dockerhub:
uses: usdot-fhwa-stol/actions/.github/workflows/dockerhub.yml@main
uses: usdot-fhwa-stol/actions/.github/workflows/dockerhub.yml@feature-docker-build-github-submodule
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
GH_PAT: ${{ secrets.GH_PAT }}
with:
github_submodules: true

0 comments on commit 43161a2

Please sign in to comment.