Skip to content

Commit

Permalink
commit Containerfile on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodicaprio authored Feb 18, 2024
1 parent e75cf9d commit 02d91f5
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Vib release

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
tags:
- 'v*'
workflow_dispatch:

env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

jobs:

release:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Rootfs
run: |
sudo apt install -y debootstrap podman
cd rootfs
sudo sh build.sh
cd ..
- uses: vanilla-os/[email protected]

- name: Commit Containerfile
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add Containerfile
git commit -m "release: ${GITHUB_REF#refs/tags/}"
git push

0 comments on commit 02d91f5

Please sign in to comment.