Skip to content

Commit

Permalink
Add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Jan 18, 2022
1 parent 4481f02 commit 7bb7ca9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/cd.yml
@@ -0,0 +1,30 @@
name: CD
on:
push:
branches:
- "master"
- "cicd"

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Skaffold Docker build
uses: hiberbee/github-action-skaffold@1.15.0
with:
command: build
repository: ${{ env.REGISTRY }}/txpipe
tag: ${{ github.sha }}

Empty file removed .github/workflows/ci.yml
Empty file.

0 comments on commit 7bb7ca9

Please sign in to comment.