Skip to content

Update Dockerfile to install only lua54 #2

Update Dockerfile to install only lua54

Update Dockerfile to install only lua54 #2

Workflow file for this run

name: Docker Hub Publish
on:
push:
branches: [ "master", "main" ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "master", "main" ]
env:
REGISTRY: ""
DOCKER_USER: "CoolyDucks"
IMAGE_NAME: "json"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_USER }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=semver,pattern={{version}}
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max