Skip to content

Commit

Permalink
[sc-96290] Migrate kube-review repo to viodotcom org (#133)
Browse files Browse the repository at this point in the history
* test workflow after migration

* update actions

* update actions cd

---------

Co-authored-by: Reeve Lorena <reeve@Reeves-MacBook-Pro.local>
  • Loading branch information
reeve24 and Reeve Lorena committed Sep 19, 2023
1 parent de5e244 commit 78ea4b5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Push
shell: bash
Expand All @@ -31,13 +31,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: echo "date=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT

- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Push
shell: bash
Expand All @@ -39,19 +39,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk --no-cache --quiet update

WORKDIR /

# Prune
# Prune.
COPY src/prune/* ./
RUN go build -o ./prune .
RUN chmod +x prune
Expand Down

0 comments on commit 78ea4b5

Please sign in to comment.