Skip to content

Update base-20.dockerfile #20

Update base-20.dockerfile

Update base-20.dockerfile #20

Workflow file for this run

name: test
on: [push]
jobs:
publish-hello-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build date
run: echo "BUILD_DATE=$(date +'+%Y%m%d')" >> $GITHUB_ENV
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: secful/dashboard
tags: |
type=ref,event=branch
type=raw,value={{branch}}${{env.BUILD_DATE}}-{{sha}}