Files
arche/.gitea/workflows/build-and-publish.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 17: mapping key "run" already defined at line 16

22 lines
591 B
YAML

name: arche-build-and-publish
run-name: arche build & publish by ${{gitea.actor}} on ${{gitea.ref_name}}
on:
push:
branches:
- master
jobs:
gractwo-arche-build-test:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: set short SHA
- name: build image
run: echo "SHORT_SHA=${GITEA_SHA::7}" >> $GITEA_ENV
run: |
docker buildx build --platform linux/amd64 \
-t git.gractwo.pl/gractwo/arche:latest \
-t git.gractwo.pl/gractwo/arche:${{env.SHORT_SHA}} \
.