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