summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2026-01-30 17:18:31 -0700
committermo khan <mo@mokhan.ca>2026-01-30 17:18:31 -0700
commite4ed0342932b0aa741ee78d9e4fe135eba6e9ca7 (patch)
treef1e7f602cb86e78aedf04185b2c2e1428fc5b8f2 /.github/workflows
parent83be9ddcf82e8a90ea50a9d54c1ebfc3e22ace16 (diff)
initial commit
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yaml43
-rw-r--r--.github/workflows/test.yaml18
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 ./...