php/.gitea/workflows/73-ubuntu.yaml

33 lines
924 B
YAML

name: Build and Push Ubuntu PHP 7.3 Image
on:
push:
branches:
- master
jobs:
build:
name: Build and push image
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Winter Access Git Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: aditya.prima
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.ubuntu
build-args: |
UBUNTU_VERSION=latest
PHP_VERSION=7.3
push: true
tags: |
git.winteraccess.id/${{ gitea.repository }}:7.3-ubuntu
git.winteraccess.id/${{ gitea.repository }}:7.3