Skip to content

Commit 23c640f

Browse files
committed
Add “latest” tag to the most recent container image
1 parent e08cf1e commit 23c640f

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
name: Publish Docker image
1+
name: Publish container image
22
on:
33
push:
44
tags:
55
- v*
66

7-
env:
8-
IMAGE_NAME: bitmapist-server
9-
107
jobs:
118
test:
129
name: Test suite
@@ -25,7 +22,7 @@ jobs:
2522
run: go test -v -race ./...
2623
push:
2724
needs: test
28-
name: Build and push Docker image
25+
name: Build and push container image
2926
runs-on: ubuntu-latest
3027
if: github.event_name == 'push'
3128
timeout-minutes: 5
@@ -50,6 +47,7 @@ jobs:
5047
linux/amd64
5148
tags: |
5249
ghcr.io/doist/bitmapist-server:${{ steps.gen-tag.outputs.tag }}
53-
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=6,force-compression=true
50+
ghcr.io/doist/bitmapist-server:latest
51+
outputs: type=image,oci-mediatypes=true
5452
cache-from: type=gha
5553
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)