use rel tag

This commit is contained in:
Adil Hafeez 2025-04-16 12:17:38 -07:00
parent a4cd7ab9d9
commit e426774c3d
No known key found for this signature in database
GPG key ID: 9B18EF7691369645

View file

@ -3,12 +3,9 @@ name: Publish docker image (release)
env:
DOCKER_IMAGE: katanemo/archgw
# on:
# release:
# types: [published]
on:
push:
release:
types: [published]
jobs:
# Build ARM64 image on native ARM64 runner
@ -30,7 +27,7 @@ jobs:
with:
images: ${{ env.DOCKER_IMAGE }}
tags: |
type=raw,value={{sha}}
type=raw,value={{tag}}
- name: Build and Push ARM64 Image
uses: docker/build-push-action@v5
@ -60,7 +57,7 @@ jobs:
with:
images: ${{ env.DOCKER_IMAGE }}
tags: |
type=raw,value={{sha}}
type=raw,value={{tag}}
- name: Build and Push AMD64 Image
uses: docker/build-push-action@v5
@ -88,7 +85,7 @@ jobs:
with:
images: ${{ env.DOCKER_IMAGE }}
tags: |
type=raw,value={{sha}}
type=raw,value={{tag}}
- name: Create Multi-Arch Manifest
run: |