Compare commits
2 Commits
ea1bc58ea3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 42a1e11c3d | |||
| fd5ba8443c |
@ -1,5 +1,3 @@
|
||||
name: Build & Push Docker Image with Commit Hash Tag
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -8,6 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
name: 🐳 Build & Push Docker Image with Commit Hash Tag
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
@ -34,6 +33,6 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
${{ vars.REGISTRY_URL }}/${{ vars.REGISTRY_REPOSITORY }}:latest
|
||||
${{ vars.REGISTRY_URL }}/${{ vars.REGISTRY_REPOSITORY }}:${{ steps.vars.outputs.COMMIT_HASH }}
|
||||
${{ vars.REGISTRY_URL }}/${{ vars.REGISTRY_REPOSITORY }}:latest
|
||||
platforms: linux/amd64
|
||||
|
||||
Reference in New Issue
Block a user