Update build.yml

This commit is contained in:
Jorge O. Castro
2022-12-16 17:02:23 -05:00
committed by GitHub
parent dd2dda67f3
commit b54f4dd86d

View File

@@ -25,7 +25,8 @@ jobs:
# Checkout push-to-registry action github repository
- name: Checkout Push to Registry action
uses: actions/checkout@v2
- name: set env
run: echo "::set-env name=NOW::$(date +'%Y%m%d')"
# Build image using Buildah action
- name: Build Image
id: build_image
@@ -34,7 +35,7 @@ jobs:
containerfiles: |
./Containerfile
image: ${{ env.IMAGE_NAME }}
tags: ${{ env.IMAGE_TAGS }}
tags: ${{ env.IMAGE_TAGS }} ${{ env.NOW }}
oci: true
# Workaround bug where capital letters in your GitHub user name make it impossible to push to GHCR.