Some checks failed
arche-build-and-publish / gractwo-arche-build-test (push) Failing after 4s
26 lines
732 B
YAML
26 lines
732 B
YAML
name: arche-build-and-publish
|
|
run-name: arche build & publish by ${{gitea.actor}} on ${{gitea.ref_name}}
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
gractwo-arche-build-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout repo
|
|
uses: actions/checkout@v4
|
|
- name: build image
|
|
run: |
|
|
docker buildx build --platform linux/amd64 \
|
|
-t git.gractwo.pl/gractwo/arche:latest \
|
|
-t git.gractwo.pl/gractwo/arche:${{gitea.sha}} \
|
|
.
|
|
- name: publish
|
|
run: docker push git.gractwo.pl/gractwo/arche:${{gitea.sha}}
|
|
- uses: actions-hub/kubectl@master
|
|
env:
|
|
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
|
with:
|
|
args: get pods |