Skip to content

Commit

Permalink
ci: Use reusable container-build-bush
Browse files Browse the repository at this point in the history
  • Loading branch information
bbusse committed Nov 28, 2024
1 parent ea1a218 commit 2dee465
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 47 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and release container

on:
push:
paths-ignore:
- '**.md'
branches:
- '**'
pull_request:
paths-ignore:
- '**.md'
branches:
- '**'
workflow_dispatch:

env:
GHCR_URL: ghcr.io

jobs:
container-build-push:
uses: bbusse/github-workflows/.github/workflows/container-build-push.yaml@dev
with:
image_name: 'swayvnc-build'
image_repository: 'bbusse/swayvnc-build'
#image_tags: ${{ github.run_number }}_${{ github.ref_name }}_${{ github.sha }}
image_tags: |
$GHCR_URL/bbusse/swayvnc-build:${{ github.sha }}
ghcr.io/bbusse/swayvnc-build:latest
ghcr.io/bbusse/swayvnc-build:${{ github.run_number }}_${{ github.ref_name }}_${{ github.sha }}
container_registry: 'ghcr'
container_push_to_registry: true
#secrets:
# custom_github_token: ${{ secrets.APK_SIGNING_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/container-extract-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: 'build-and-release-container'
check-name: 'container-build-push'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10

Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/container-image.yml

This file was deleted.

0 comments on commit 2dee465

Please sign in to comment.