Fixing issue for corebuild #309
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: All Dockerfiles - AMD64-Platform Docker Build with Caching | |
env: | |
REGISTRY_IMAGE: penthertz/rfswiftdevghm | |
BUILD_PLATFORMS: amd64 | |
CACHE_PLATFORMS: linux_amd64-linux_arm64 | |
CACHE_REPO: penthertz/rfswiftdevghm | |
DO_SPACES_ENDPOINT: ${{ secrets.BUCKET_URL }} | |
DO_SPACES_REGION: ${{ secrets.BUCKET_REGION }} | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
corebuild: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
version: latest | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push corebuild image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make common | |
sdrsa_devices: | |
runs-on: ubuntu-latest | |
needs: corebuild | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdrsa_devices image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} UHD_BASE=uhd RTLSDR_BASE=rtlsdr make sdrsadevices | |
sdrsa_devices_antsdr: | |
runs-on: ubuntu-latest | |
needs: corebuild | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdrsa_devices_antsdr image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} UHD_BASE=antsdr_uhd RTLSDR_BASE=rtlsdr make sdrsadevicesantsdr | |
sdr_devices_rtlsdrv4: | |
runs-on: ubuntu-latest | |
needs: corebuild | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdr_light_rtlsdrv4 image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} UHD_BASE=uhd RTLSDR_BASE=rtlsdrv4 make sdrsadevicesrtlsdrv4 | |
deeptempest: | |
runs-on: ubuntu-latest | |
needs: sdrsa_devices | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push deeptempest image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make deeptempest | |
sdr_light: | |
runs-on: ubuntu-latest | |
needs: sdrsa_devices | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdr_light image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make sdrlight | |
extraoot1: | |
runs-on: ubuntu-latest | |
needs: sdr_light | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdr_full image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make sdrfull1 | |
extraoot2: | |
runs-on: ubuntu-latest | |
needs: sdr_light | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdr_full image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make sdrfull2 | |
extrasoft: | |
runs-on: ubuntu-latest | |
needs: sdr_light | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdr_full image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make sdrfull3 | |
mldlsofts: | |
runs-on: ubuntu-latest | |
needs: sdr_light | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push sdr_full image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make sdrfull4 | |
telecom_utils: | |
runs-on: ubuntu-latest | |
needs: sdrsa_devices | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push telecom_utils image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make telecom_utils | |
telecom_2Gto3G: | |
runs-on: ubuntu-latest | |
needs: telecom_utils | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push telecom_2Gto3G image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make telecom_2Gto3G | |
telecom_4Gto5G: | |
runs-on: ubuntu-latest | |
needs: telecom_utils | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push telecom_4Gto5G image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make telecom_4Gto5G | |
wifi: | |
runs-on: ubuntu-latest | |
needs: sdrsa_devices | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push wifi image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make wifi | |
bluetooth: | |
runs-on: ubuntu-latest | |
needs: sdrsa_devices | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push bluetooth image with caching | |
env: | |
AWS_EC2_METADATA_DISABLED: true | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make bluetooth | |
rfid: | |
runs-on: ubuntu-latest | |
needs: corebuild | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push rfid image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make rfid | |
automotive: | |
runs-on: ubuntu-latest | |
needs: corebuild | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push automotive image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make automotive | |
reversing: | |
runs-on: ubuntu-latest | |
needs: corebuild | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
install: true | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push reversing image with caching | |
run: | | |
cd Dockerfiles | |
STORAGE_TYPE=registry ARCH=${{ env.BUILD_PLATFORMS }} CACHE_REPO=${{ env.CACHE_REPO }} \ | |
REGISTRY_IMAGE=${{ env.REGISTRY_IMAGE }} make reversing |