Skip to content

Commit

Permalink
Try using the official skaffold build image directly in the GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
snickell committed Aug 8, 2023
1 parent 45a9d82 commit 6d92411
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions .github/workflows/skaffold_build.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
- name: Skaffold Github Action
uses: hiberbee/github-action-skaffold@1.27.0
on: [push]
jobs:
pipeline:
name: Skaffold Docker build
name: Skaffold
on: [push]
jobs:
build:
name: Skaffold Build
runs-on: ubuntu-22.04
container:
image: gcr.io/k8s-skaffold/skaffold:v2.6.3-lts
# env:
# NODE_ENV: development
# ports:
# - 80
# volumes:
# - my_docker_volume:/volume_mount
options: --cpus 1
steps:
- name: Build Docker images
uses: hiberbee/github-action-skaffold@1.20.0
with:
command: build
repository: ghcr.io/hiberbee/docker
image: nodejs
tag: ${{ github.sha }}
- name: Checkout sources
uses: actions/checkout@v3
- shell: bash
run: |
skaffold build
# gcr.io/k8s-skaffold/skaffold:v2.6.3-lts


# name: GitHub Actions Demo
# run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
Expand Down

0 comments on commit 6d92411

Please sign in to comment.