diff --git a/.github/conf/.goreleaser.yml b/.github/conf/.goreleaser.yml index ecd783f..d27812d 100644 --- a/.github/conf/.goreleaser.yml +++ b/.github/conf/.goreleaser.yml @@ -2,7 +2,7 @@ before: hooks: - go mod tidy builds: - - binary: client + - binary: seamoon env: - CGO_ENABLED=0 main: ./cmd/main.go diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 75b967b..819460f 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -17,8 +17,6 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: prepare-dockerfile - run: cp docker/client/Dockerfile ./Dockerfile - uses: docker/build-push-action@v3 with: push: true @@ -27,35 +25,8 @@ jobs: linux/arm64 linux/386 tags: | - dvkunion/seamoon-client:latest - dvkunion/seamoon-client:${{github.ref_name}} - build-args: | - VERSION=${{github.ref_name}} - context: ./ - package-docker-server: - name: package-docker-server - runs-on: ubuntu-20.04 - if: startsWith(github.ref, 'refs/tags/') - steps: - - uses: actions/checkout@v3 - - uses: docker/setup-qemu-action@v2 - - uses: docker/setup-buildx-action@v2 - - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: prepare-dockerfile - run: cp docker/server/Dockerfile ./Dockerfile - - uses: docker/build-push-action@v3 - with: - push: true - platforms: | - linux/amd64 - linux/arm64 - linux/386 - tags: | - dvkunion/seamoon-server:latest - dvkunion/seamoon-server:${{github.ref_name}} + dvkunion/seamoon:latest + dvkunion/seamoon:${{github.ref_name}} build-args: | VERSION=${{github.ref_name}} context: ./ \ No newline at end of file