Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
push:
branches: [ "main" ]
Expand All @@ -14,12 +9,14 @@ on:
branches: [ "main" ]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME_UI: ${{ github.repository }}-ui
IMAGE_NAME_ANSIBLE: ${{ github.repository }}-ansible

permissions:
contents: write
packages: write
id-token: write

jobs:
build-ui:
Expand Down Expand Up @@ -137,6 +134,10 @@ jobs:
release:
needs: [build-ui, build-ansible]
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
id-token: write
if: github.ref == 'refs/heads/main'
steps:
- name: Set version (SemVer) for release
Expand Down