Skip to content

Remove set -euo pipefail toa void erros on mac80211_hwsim_WiFiChallenge #134

Remove set -euo pipefail toa void erros on mac80211_hwsim_WiFiChallenge

Remove set -euo pipefail toa void erros on mac80211_hwsim_WiFiChallenge #134

name: Docker Image CI APs DEV
on:
push:
branches:
- 'dev'
paths:
- APs/**
permissions:
contents: read
packages: write
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Checkout
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./APs
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/wifichallengelab-aps:dev
ghcr.io/${{ github.repository_owner }}/wifichallengelab-aps:dev
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/wifichallengelab-aps:dev-cache
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/wifichallengelab-aps:dev-cache,mode=max