33 lines
669 B
YAML
33 lines
669 B
YAML
#stages:
|
|
# - build
|
|
# - run
|
|
#
|
|
#variables:
|
|
# IMAGE_NAME: "$CI_REGISTRY_IMAGE/diouxs-builder:$CI_COMMIT_SHA"
|
|
#
|
|
#build-image:
|
|
# stage: build
|
|
# image: docker:latest
|
|
# services:
|
|
# - docker:dind
|
|
# variables:
|
|
# DOCKER_DRIVER: overlay2
|
|
# script:
|
|
# - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
|
|
# - docker build -t "$IMAGE_NAME" .
|
|
# - docker push "$IMAGE_NAME"
|
|
# only:
|
|
# - branches
|
|
|
|
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
TestStage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo "foo"
|
|
- run: echo "bar"
|
|
- run: echo "baz" > foo
|