Testing another build syntax
Some checks failed
OSC Pull Custom Image Demo / build (push) Failing after 5s
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 4s

Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
Alex Lau 2023-10-31 14:24:20 +08:00
parent 05cc6b573a
commit a41e79f7ae
No known key found for this signature in database
GPG Key ID: 3F28752074CC2261

View File

@ -1,7 +1,16 @@
name: OSC Pull Custom Image Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
on:
push:
branches: [ factory ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --platform linux/amd64 --tag bc:latest
osc_job:
runs-on: ubuntu-latest
name: opensuse osc custom container checkout test
@ -15,4 +24,3 @@ jobs:
env: # Or as an environment variable
osc_pass: ${{ secrets.OSCPASS }}
id: osc-demo
run: docker build . --file Dockerfile --tag bc:latest