Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Apr 16, 2024
1 parent 7f77ea9 commit 535e07e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ on:
tags:
- "carma-system-*"
jobs:
determine_docker_org_and_tag:
runs-on: ubuntu-latest
outputs:
docker_organization: ${{ steps.step1.outputs.docker_organization }}
docker_image_tag: ${{ steps.step1.outputs.docker_image_tag }}
steps:
- id: step1
uses: usdot-fhwa-stol/actions/docker-org-and-tag@feature-add-docker-org-and-tag-action
docker:
needs: determine_docker_org_and_tag
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -35,7 +44,9 @@ jobs:
push: true
tags: usdotfhwastol/carma-messenger-core:${{ github.ref_name }}-carma-messenger-core
build-args: |
BRANCH=${{ github.ref_name }}
BRANCH=${{ github.ref_name }}
TAG=${{ needs.determine_docker_org_and_tag.outputs.docker_organization }}
ORGANIZATION=${{ needs.determine_docker_org_and_tag.outputs.docker_image_tag }}
- name: Build and Push chevrolet_tahoe_2018 Docker Image
uses: docker/build-push-action@v3
with:
Expand Down
5 changes: 3 additions & 2 deletions carma-messenger-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

FROM usdotfhwastol/carma-base:carma-system-4.5.0 as base_image
ARG ORGANIZATION="usdotfhwastoldev"
ARG TAG="develop"
FROM ${ORGANIZATION}/carma-base:${TAG} as base_image
FROM base_image as setup
ARG BRANCH="develop"

Expand Down

0 comments on commit 535e07e

Please sign in to comment.