Skip to content

Commit

Permalink
Tag and push Docker image based on version
Browse files Browse the repository at this point in the history
  • Loading branch information
jadametz committed Nov 14, 2020
1 parent ed5e127 commit 722ae76
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Docker Image CI

on: [push]
on:
release:
types: [published]
push:
branches:
- main

jobs:
build:
Expand All @@ -13,3 +18,6 @@ jobs:
name: jadametz/gotweetdelete
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
default_branch: main
tag_names: true
tag_semver: true

0 comments on commit 722ae76

Please sign in to comment.