Skip to content

deploy to newspace2 #267

deploy to newspace2

deploy to newspace2 #267

name: ⚙️ Build and deploy to ACR

Check failure on line 1 in .github/workflows/php-build-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/php-build-and-deploy.yml

Invalid workflow file

(Line: 31, Col: 21): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
on:
push:
branches:
- feature/deploy-to-newspce2
permissions:
contents: read
packages: write
jobs:
build:
name: Docker Build
runs-on: ubuntu-latest
steps:
- name: 📁 Checkout repository
uses: actions/checkout@v4
- name: 🔧 Docker QEMU Setup
uses: docker/setup-qemu-action@v3
- name: 🛠️ Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 🗝️ Login to Container Registry
uses: azure/docker-login@v1
with:
login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
username: ${{ secrets.AZ_USERNAME }10
password: ${{ secrets.AZ_PASSWORD }}
- name: 📃 Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.REGISTRY_LOGIN_SERVER }}/newspace2_10
flavor: |
latest=false
tags: |
type=raw,value=latest
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
- name: 🐳 Docker Build & Push
uses: docker/build-push-action@v5
id: docker_build
with:
context: ./
push: true
provenance: false
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
file: ./Dockerfile