Skip to content

Commit

Permalink
work: move actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
mischavandenburg committed Apr 30, 2024
1 parent c00e51a commit 8672abe
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions github-actions/update-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: replace tag

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: update tag
uses: mikefarah/yq@master
with:
cmd: |
yq eval '.spec.template.spec.containers[0].image = "ghcr.io/mytest/httpd:v0.0.1"' -i ./kubernetes/deployments/test.yaml
- name: push
uses: actions-x/commit@v6
with:
email: [email protected]
name: GitHub Actions Autocommitter
branch: main

0 comments on commit 8672abe

Please sign in to comment.