Skip to content

Commit

Permalink
add push image to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Feb 1, 2020
1 parent 6791366 commit e3a8e4f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: master

jobs:
goreleaser:
ci-ci-ci:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.12
Expand All @@ -31,4 +31,12 @@ jobs:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

- name: Publish Docker
uses: elgohr/Publish-Docker-Github-Action@2.12
with:
name: ehco1996/v2scar
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest"

0 comments on commit e3a8e4f

Please # to comment.