feat: update docker image actions

This commit is contained in:
Steven 2023-07-02 23:06:52 +08:00
parent f1e0dbc8e6
commit 38fd107647
2 changed files with 18 additions and 20 deletions

View File

@ -33,13 +33,12 @@ jobs:
with:
install: true
# TODO(steven)
# - name: Build and Push
# id: docker_build
# uses: docker/build-push-action@v3
# with:
# context: ./
# file: ./Dockerfile
# platforms: linux/amd64,linux/arm64
# push: true
# tags: stevenlgtm/shortify:${{ env.VERSION }}
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v3
with:
context: ./
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: stevenlgtm/shortify:${{ env.VERSION }}

View File

@ -26,13 +26,12 @@ jobs:
install: true
version: v0.9.1
# TODO(steven)
# - name: Build and Push
# id: docker_build
# uses: docker/build-push-action@v3
# with:
# context: ./
# file: ./Dockerfile
# platforms: linux/amd64
# push: true
# tags: stevenlgtm/corgi:test
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v3
with:
context: ./
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: stevenlgtm/shortify:test