Merge pull request #154 from OSAlt/renovate/docker-build-push-action-6.x #774
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Docker image | |
on: | |
push: | |
pull_request: | |
jobs: | |
VerifyCodeBase: | |
name: Validate Docker Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/[email protected] | |
with: | |
images: geekbeacon/gb-ghost | |
- name: Build and push Docker image | |
uses: docker/[email protected] | |
with: | |
context: . | |
push: false | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |