Skip to content

Create devcontainer.json and dotnet-tools.json #68

Create devcontainer.json and dotnet-tools.json

Create devcontainer.json and dotnet-tools.json #68

name: Docker
on:
push:
branches: [ master ]
create:
tags:
- v*
jobs:
build-docker-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- id: docker-tag
uses: yuya-takeyama/[email protected]
with:
remove-version-tag-prefix: false
- name: Log into registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: zkeasoft/zkeacms:${{ steps.docker-tag.outputs.tag }}