From 6e12ff16e7e5dea4e2c41c64dee5e1e8cdb13053 Mon Sep 17 00:00:00 2001 From: "Jibon L. Costa" Date: Mon, 4 Nov 2024 13:13:05 +0100 Subject: [PATCH] fix: clean up --- .github/workflows/release-dockerhub.yml | 51 ------------------------- .github/workflows/test.yml | 1 - 2 files changed, 52 deletions(-) delete mode 100644 .github/workflows/release-dockerhub.yml diff --git a/.github/workflows/release-dockerhub.yml b/.github/workflows/release-dockerhub.yml deleted file mode 100644 index 8936960d..00000000 --- a/.github/workflows/release-dockerhub.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Release to DockerHub -on: - release: - types: [ published ] -jobs: - docker: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: | - mynaparrot/plugnmeet-server - tags: | - type=semver,pattern=v{{version}} - type=semver,pattern=v{{major}}.{{minor}} - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: "go.mod" - - - name: Download Go modules - run: go mod download - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - with: - image: tonistiigi/binfmt:latest - platforms: all - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} - - - name: Build and push - id: docker_build - uses: docker/build-push-action@v6 - with: - context: . - push: true - platforms: linux/amd64,linux/arm64 - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5ab0475..42c2aeae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,7 +65,6 @@ jobs: docker ps docker compose logs - name: Run test - #run: go test -cover -race -v ./... run: | cp ./test/config.yaml config.yaml go test -timeout 2m -cover -race -v ./...