Merge pull request #17 from jjuarez/feature/updates #22
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: dagger/docker/release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
docker-release: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
DAGGER_LOG_FORMAT: "plain" | |
DAGGER_LOG_LEVEL: "debug" | |
steps: | |
- name: Get tag | |
uses: actions/checkout@v2 | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dagger | |
uses: dagger/dagger-for-github@v3 | |
with: | |
install-only: true | |
- name: Dagger project update | |
run: dagger project update | |
- name: Docker release | |
env: | |
VERSION: ${{ steps.vars.output.tag }} | |
run: dagger do release |