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