go1.18 and nbgv

This commit is contained in:
Boshi Lian 2022-04-03 09:45:42 +00:00
parent f14ff4278b
commit 76c8d6d0bb
5 changed files with 46 additions and 36 deletions

View file

@ -30,6 +30,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- uses: dotnet/nbgv@master
with:
setAllVars: true
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
@ -55,6 +59,8 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
build-args:
- VER=${{ env.NBGV_SimpleVersion }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}