diff --git a/.github/workflows/docker-feature.yml b/.github/workflows/docker-feature.yml new file mode 100644 index 0000000..78570d9 --- /dev/null +++ b/.github/workflows/docker-feature.yml @@ -0,0 +1,25 @@ +name: Docker Android CI + +on: + push: + branches: ['feature/*'] + +jobs: + + # Builds a test image. + build-test: + runs-on: ubuntu-latest + steps: + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_TOKEN }} + - name: Build minimal Docker image + uses: docker/build-push-action@v4 + with: + push: true + tags: halimqarroum/docker-android:test + build-args: | + API_LEVEL=33 + IMG_TYPE=google_apis