Files
Reskreen/.gitea/workflows/docker_builder_latest.yaml
Kirosbr a93b58f43d
Some checks failed
Build and Push Docker Image / build (push) Failing after 49s
utilisation de rockylinux:9
2024-07-16 01:44:46 +02:00

30 lines
775 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Registry
uses: docker/login-action@v3
with:
registry: registry.prod.resk-u.ch
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: registry.prod.resk-u.ch/reskreen:latest