alpine-s6/.gitea/workflows/container.yaml

26 lines
838 B
YAML
Raw Normal View History

2023-12-12 17:57:15 +00:00
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
2023-12-12 18:12:05 +00:00
- name: Build image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: docker.io/thallian/alpine-s6
tags: ${{ gitea.ref_name }} latest
archs: amd64
containerfiles: |
./Containerfile
- name: Log in to Dockerhub
uses: redhat-actions/podman-login@v1
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PW }}