Merge pull request 'pack' (#1) from pack into local

Reviewed-on: #1
This commit is contained in:
smf
2024-03-06 11:40:05 +08:00
2 changed files with 1 additions and 41 deletions

View File

@@ -1,40 +0,0 @@
name: Release
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: |
sulthonzh/docker-remote-deployment-action:latest
sulthonzh/docker-remote-deployment-action:${{ github.event.release.tag_name }}

View File

@@ -73,7 +73,7 @@ case $INPUT_DEPLOYMENT_MODE in
*) *)
INPUT_DEPLOYMENT_MODE="docker-compose" INPUT_DEPLOYMENT_MODE="docker-compose"
DEPLOYMENT_COMMAND="docker-compose -f $STACK_FILE $DEPLOYMENT_COMMAND_OPTIONS" DEPLOYMENT_COMMAND="docker compose -f $STACK_FILE $DEPLOYMENT_COMMAND_OPTIONS"
;; ;;
esac esac