diff --git a/.forgejo/workflows/docker-latest.yml b/.forgejo/workflows/docker-latest.yml index a2f423b..e9394df 100644 --- a/.forgejo/workflows/docker-latest.yml +++ b/.forgejo/workflows/docker-latest.yml @@ -3,26 +3,29 @@ name: Docker CI/CD on: push: branches: - - 'docker' + - "docker" jobs: docker: + name: Docker Build and Push + container: + image: node:20-bookworm steps: - - - name: Set up QEMU + - name: Install Docker + run: | + apt update + apt install -y docker.io + - name: Set up QEMU uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v5 with: push: true - tags: kumitterer/matrix-gptbot:latest \ No newline at end of file + tags: kumitterer/matrix-gptbot:latest