diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml deleted file mode 100644 index 4980a7d55..000000000 --- a/.github/workflows/docker-image.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Docker Image CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - name: Build and Push Docker Image for rengine - run: | - docker buildx create --use - echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - docker buildx build --platform linux/amd64,linux/arm64 -t vouu/rengine:(date +%s) ./web --push diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c927a8092..0f07992ca 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,7 +3,7 @@ name: Docker Build and Push on: push: branches: - - main + - master jobs: build_and_push: diff --git a/.github/workflows/docker-puh.yml b/.github/workflows/docker-puh.yml deleted file mode 100644 index 5df5e8d4c..000000000 --- a/.github/workflows/docker-puh.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Docker Build and Push - -on: - push: - branches: - - main - -jobs: - build_and_push: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - - name: Login to Docker Hub - run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - - - - name: Build and Push Docker Image for rengine - run: | - docker buildx create --use - echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - docker buildx build --platform linux/amd64,linux/arm64 -t vouu/rengine ./web --push