Skip to content

VE_base

VE_base #162

Workflow file for this run

name: VE_base
on:
workflow_dispatch:
schedule:
- cron: '42 6 * * 1' # At 0642 each Monday
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
ve_base:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
- name: Login to DockerHub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
with:
file: tools/build_virtual_environment/ve_base/Dockerfile
push: true
tags: |
atsigncompany/vebase:latest
atsigncompany/vebase:ve_base-gha${{ github.run_number }}
platforms: |
linux/amd64
linux/arm64/v8
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Google Chat Notification
uses: Co-qn/google-chat-notification@3691ccf4763537d6e544bc6cdcccc1965799d056 # v1
with:
name: New Docker base image for vebase:latest
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}
status: ${{ job.status }}