Skip to content

Commit

Permalink
update dockerhub build
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Mar 27, 2024
1 parent 7df8942 commit a822172
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
context: ./telematic_system/telematic_units/carma_vehicle_bridge/
file: ./telematic_system/telematic_units/carma_vehicle_bridge/Dockerfile
telematic_historical_data_processing:
telematic_historical-data-processing:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
122 changes: 121 additions & 1 deletion .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,124 @@ jobs:
context: ./telematic_system/telematic_historical_data_processing/
file: ./telematic_system/telematic_historical_data_processing/Dockerfile
push: true
tags: usdotfhwastoldev/telematic_historical_data_processing:${{ github.ref_name }}
tags: usdotfhwastoldev/telematic_historical_data_processing:${{ github.ref_name }}

dockerhub-telematic-web-server:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./telematic_system/telematic_apps/web_app/server
file: ./telematic_system/telematic_apps/web_app/server/Dockerfile
push: true
tags: usdotfhwastoldev/telematic_web_server:${{ github.ref_name }}

dockerhub-telematic-web-client:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./telematic_system/telematic_apps/web_app/client
file: ./telematic_system/telematic_apps/web_app/client/Dockerfile
push: true
tags: usdotfhwastoldev/telematic_web_client:${{ github.ref_name }}

dockerhub-telematic-apache2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./telematic_system/telematic_apps/apache2
file: ./telematic_system/telematic_apps/apache2/Dockerfile
push: true
tags: usdotfhwastoldev/telematic_apache2:${{ github.ref_name }}

dockerhub-telematic-grafana:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./telematic_system/telematic_apps/grafana
file: ./telematic_system/telematic_apps/grafana/Dockerfile
push: true
tags: usdotfhwastoldev/telematic_grafana:${{ github.ref_name }}

dockerhub-telematic-local-apache2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./telematic_system/telematic_apps/apache2
file: ./telematic_system/telematic_apps/apache2/local.Dockerfile
push: true
tags: usdotfhwastoldev/telematic_local_apache2:${{ github.ref_name }}

dockerhub-telematic-local-messaging:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./telematic_system/telematic_cloud_messaging/
file: ./telematic_system/telematic_cloud_messaging/local.Dockerfile
push: true
tags: usdotfhwastoldev/telematic_local_messaging:${{ github.ref_name }}

0 comments on commit a822172

Please sign in to comment.