Skip to content

Commit

Permalink
Merge pull request #494 from chekkan/feature/github_action_migration
Browse files Browse the repository at this point in the history
converted main.workflow to Actions V2 yml files
  • Loading branch information
dabutvin authored Oct 3, 2019
2 parents cbd847d + 37761d4 commit a6da825
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/main.workflow

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: release
name: Release dabutvin/imgbot-compressimages
jobs:
dockerRegistry:
name: Docker Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Docker Registry
uses: actions/docker/login@8cdf801b322af5f369e00d85e9cf3a7122f49108
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
- name: GitHub Action for Docker
uses: actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108
with:
args: build -f Dockerfile.CompressImages . -t imgbot-compressimages
- name: Docker Tag
uses: actions/docker/tag@8cdf801b322af5f369e00d85e9cf3a7122f49108
with:
args: imgbot-compressimages dabutvin/imgbot-compressimages
- name: GitHub Action for Docker-1
uses: actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108
with:
args: push dabutvin/imgbot-compressimages

0 comments on commit a6da825

Please sign in to comment.