Skip to content

fix #3 : when args has nil value #16

fix #3 : when args has nil value

fix #3 : when args has nil value #16

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch:
push:
branches: [ main ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: hanxi/wlua
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}