on: release: types: [created] jobs: docker-release: runs-on: ubuntu-latest steps: - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build frontend docker image uses: docker/build-push-action@v4 with: context: '{{defaultContext}}:frontend' platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7 push: true tags: | xddxdd/bird-lg-go:latest ghcr.io/xddxdd/bird-lg-go:frontend - name: Build proxy docker image uses: docker/build-push-action@v4 with: context: '{{defaultContext}}:proxy' platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7 push: true tags: | xddxdd/bird-lgproxy-go:latest ghcr.io/xddxdd/bird-lg-go:proxy