diff --git a/.github/workflows/publish-develop-docker.yml b/.github/workflows/publish-develop-docker.yml new file mode 100644 index 00000000..cd54681c --- /dev/null +++ b/.github/workflows/publish-develop-docker.yml @@ -0,0 +1,25 @@ +name: Publish Develop Docker Image + +on: + push: + branches: + - develop + +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: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: Archmonger/Conreq:develop diff --git a/.github/workflows/publish-latest-docker.yml b/.github/workflows/publish-latest-docker.yml new file mode 100644 index 00000000..e912112d --- /dev/null +++ b/.github/workflows/publish-latest-docker.yml @@ -0,0 +1,24 @@ +name: Publish Latest Docker Image + +on: + release: + types: [published] + +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: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: Archmonger/Conreq:latest