Skip to content

adjust for php 8.2 and 8.3 #38

adjust for php 8.2 and 8.3

adjust for php 8.2 and 8.3 #38

name: Build and Publish Docker Image
# Controls when the workflow will run
on:
pull_request:
push:
branches:
- master
tags:
- '*'
jobs:
build:
runs-on: ubuntu-20.04
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Set the branch name / tag version in env var named RELEASE_VERSION
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Install coreutils and gettext
run: |
sudo apt update
sudo apt install -y coreutils gettext
- name: Build and publish image
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: ./bin/ci.sh run