Skip to content

builder image workflow #13

builder image workflow

builder image workflow #13

Workflow file for this run

name: builder image workflow
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- ".github/workflows/builder-image.yml"
- "images/builder/Dockerfile"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3
- name: Login to Docker Hub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ghcr.io
username: sovereigncloudstack
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6
with:
file: ./images/builder/Dockerfile
context: ./images/builder
push: true
tags: ghcr.io/sovereigncloudstack/csctl-builder:0.2.1