diff --git a/.github/workflows/builddev b/.github/workflows/builddev deleted file mode 100644 index e56e585..0000000 --- a/.github/workflows/builddev +++ /dev/null @@ -1,52 +0,0 @@ -name: Build container image - -on: - release: - types: published - branches: - - dev - -permissions: - contents: read - packages: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4.1.1 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3.0.0 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.2.0 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3.1.0 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Log in to docker hub - uses: docker/login-action@v3.1.0 - with: - username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push - uses: docker/build-push-action@v5.3.0 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64 - cache-from: type=gha - cache-to: type=gha,mode=max - push: true - tags: | - ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:latest - ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:${{ github.sha }} - docker.io/iainbullock/tesla_http_proxy:dev - docker.io/iainbullock/tesla_http_proxy:${{ github.ref_name }}