Skip to content

Commit

Permalink
Merge pull request #20 from g3rhard/renovate/github-actions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
g3rhard authored Jun 26, 2024
2 parents b4a6267 + cd396f6 commit 086efb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
Expand All @@ -24,7 +24,7 @@ jobs:
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3

- name: Login to DockerHub
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
Expand All @@ -33,23 +33,23 @@ jobs:
run: echo "DATE=$(date +'%Y.%m.%d')" >> "$GITHUB_ENV"

- name: Build and push
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
with:
context: .
push: true
tags: ${{ github.repository }}:${{ env.DATE }}-${{ github.ref_name }}
platforms: linux/amd64,linux/arm64

- name: Create a Release
uses: elgohr/Github-Release-Action@v5
uses: elgohr/Github-Release-Action@edea2b66b44cdd48a00eb134b39959db2703b1cd # v5
if: success()
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "Release ${{ env.DATE }}"

- name: Send Discord notification
uses: sarisia/actions-status-discord@6712a17f7d0531d44cd42ca2a878b0bdfd07b62a # v1
uses: sarisia/actions-status-discord@609229a5cc8b81e6de55f63e6cdd5e171a3c1895 # v1
if: always()
with:
title: "Build image on ${{ github.repository }}: ${{ github.workflow }}"
Expand Down

0 comments on commit 086efb4

Please sign in to comment.