diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yaml | 43 | ||||
| -rw-r--r-- | .github/workflows/test.yaml | 18 |
2 files changed, 0 insertions, 61 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 76f5c33..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: release - -on: - release: - types: [ created ] - workflow_dispatch: - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: antonmedv - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build test image - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - load: true - tags: antonmedv/gitmal:test - - - name: Smoke test - verify binary runs - run: | - docker run --rm antonmedv/gitmal:test --help - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - push: true - platforms: linux/amd64,linux/arm64 - tags: antonmedv/gitmal:latest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 8b20693..0000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: test - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v3 - with: - go-version: 1.21 - - name: Test - run: go test ./... |
