Testing another build syntax
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
parent
05cc6b573a
commit
a41e79f7ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user