Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
Simon Bruder | d8656bfdfe | ||
Simon Bruder | 6fd1edb950 | ||
Simon Bruder | 81d9357e83 | ||
Simon Bruder | 29dbc4cc7b |
31
.forgejo/workflows/build.yaml
Normal file
31
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
ls:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Set up buildah
|
||||
run: |
|
||||
apt update
|
||||
apt -y install buildah
|
||||
- name: Checkout
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: Build
|
||||
uses: https://github.com/redhat-actions/buildah-build@v2
|
||||
with:
|
||||
image: git.sbruder.de/containers/osu
|
||||
#tags: latest
|
||||
containerfiles: |
|
||||
./Containerfile
|
||||
layers: true
|
||||
oci: true
|
||||
- name: Push
|
||||
id: push
|
||||
uses: https://github.com/redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
image: ${{ steps.build-image.outputs.image }}
|
||||
tags: ${{ steps.build-image.outputs.tags }}
|
||||
#username: quay-user
|
||||
#password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
- name: Print image url
|
||||
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"
|
Loading…
Reference in a new issue