Skip to content

Commit

Permalink
build-container workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gattma authored Jun 14, 2024
1 parent 5750343 commit 2ab3ee9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release Containerimage

on:
workflow_dispatch:

jobs:
build-test-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: checkout

# build the container image and release it as a package in this repository
- uses: mr-smithers-excellent/docker-build-push@v6
name: push-container-image
with:
image: gepardec-renovate
registry: ghcr.io
dockerfile: Containerfile
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# if the branch is main, add the latest tag
addLatest: ${{ github.ref == 'refs/heads/main' }}

0 comments on commit 2ab3ee9

Please sign in to comment.