diff --git a/.forgejo/workflows/docker-latest.yml b/.forgejo/workflows/docker-latest.yml deleted file mode 100644 index c4367e6..0000000 --- a/.forgejo/workflows/docker-latest.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Docker CI/CD - -on: - push: - branches: - - "main" - -jobs: - docker: - name: Docker Build and Push to Docker Hub - container: - image: node:20-bookworm - steps: - - name: Install dependencies - run: | - apt update - apt install -y docker.io - - 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 to Docker Hub - uses: docker/build-push-action@v5 - with: - push: true - tags: | - kumitterer/matrix-gptbot:latest - kumitterer/matrix-gptbot:${{ env.GITHUB_SHA }} diff --git a/.forgejo/workflows/docker-tag.yml b/.forgejo/workflows/docker-tag.yml index cadf570..5cacf20 100644 --- a/.forgejo/workflows/docker-tag.yml +++ b/.forgejo/workflows/docker-tag.yml @@ -28,4 +28,6 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: kumitterer/matrix-gptbot:${{ env.GITHUB_REF_NAME }} + tags: | + kumitterer/matrix-gptbot:latest + kumitterer/matrix-gptbot:${{ env.GITHUB_REF_NAME }}