mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-03 20:07:53 +00:00
Update build.yml
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -26,7 +26,8 @@ jobs:
|
|||||||
- name: Checkout Push to Registry action
|
- name: Checkout Push to Registry action
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: set env
|
- name: set env
|
||||||
run: echo "::set-env name=NOW::$(date +'%Y%m%d')"
|
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||||
|
|
||||||
# Build image using Buildah action
|
# Build image using Buildah action
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
id: build_image
|
id: build_image
|
||||||
@@ -35,7 +36,7 @@ jobs:
|
|||||||
containerfiles: |
|
containerfiles: |
|
||||||
./Containerfile
|
./Containerfile
|
||||||
image: ${{ env.IMAGE_NAME }}
|
image: ${{ env.IMAGE_NAME }}
|
||||||
tags: ${{ env.IMAGE_TAGS }} ${{ env.NOW }}
|
tags: ${{ env.IMAGE_TAGS }} ${{ env.DATE }}
|
||||||
oci: true
|
oci: true
|
||||||
|
|
||||||
# Workaround bug where capital letters in your GitHub user name make it impossible to push to GHCR.
|
# Workaround bug where capital letters in your GitHub user name make it impossible to push to GHCR.
|
||||||
|
|||||||
Reference in New Issue
Block a user