Update base url #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build and push image to Github Container Registry" | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
name: Push Automat API docs to GHCR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Push api docs | |
uses: docker/build-push-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
path: . | |
dockerfile: ./Dockerfile | |
repository: robokopu24/api-docs | |
tags: latest,${{ steps.get_version.outputs.VERSION }} |