Skip to content

Commit

Permalink
test auto run action
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaconsalvi committed Aug 29, 2024
1 parent 69c78c9 commit 57226ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 131 deletions.
120 changes: 0 additions & 120 deletions .github/workflows/build-n-push-main-backup.yml

This file was deleted.

17 changes: 6 additions & 11 deletions .github/workflows/build-n-push-main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Build, push and update

on:
workflow_dispatch:
inputs:
skip-unit-test:
type: boolean
required: true
description: Skip unit-test
pull_request:

jobs:
build_push_update:
Expand All @@ -26,27 +21,27 @@ jobs:
# Checkout the source code.
#
- name: Checkout the source code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
token: ${{ secrets.GIT_PAT }}
fetch-depth: 0


- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: https://ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1

- name: Build the app image
uses: docker/build-push-action@v6
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
with:
push: true
context: .
Expand Down

0 comments on commit 57226ba

Please sign in to comment.