Skip to content

Commit

Permalink
chore(deps): update github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and alcroito committed Apr 25, 2024
1 parent 1deaec8 commit c871108
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
# https://github.com/docker/buildx/issues/495#issuecomment-918925854
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3
- name: Cache Docker layers
uses: actions/cache@v4
with:
Expand All @@ -51,12 +51,12 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3
with:
username: ${{ github.actor }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
echo "tag=${GITHUB_REPOSITORY}:${DOCKER_TAG_PREFIX}-${{ matrix.rust_target_arch }}-${BASE_RUNTIME_IMAGE}" >> $GITHUB_OUTPUT
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5
with:
push: true
context: .
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:

publish_containers:
name: Publish docker images
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
registry: [docker.io, ghcr.io]
Expand All @@ -145,14 +145,14 @@ jobs:
uses: actions/checkout@v4
- name: Login to DockerHub
if: matrix.registry == 'docker.io'
uses: docker/login-action@v2
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3
with:
registry: docker.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
if: matrix.registry == 'ghcr.io'
uses: docker/login-action@v2
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:

- name: "Build Changelog"
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v3
uses: mikepenz/release-changelog-builder-action@32e3c96f29a6532607f638797455e9e98cfc703d # v4
with:
toTag: ${{ github.ref_name }}
configuration: ".github/changelog_conf.json"

- name: Create GitHub release
id: release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2
with:
tag_name: ${{ github.ref_name }}
prerelease: ${{ github.ref_type == 'branch' }}
Expand All @@ -38,7 +38,7 @@ jobs:
run: echo "${{ steps.release.outputs.upload_url }}" > artifacts/release-upload-url

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: artifacts
path: artifacts
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
if: matrix.cross == true

- name: Get release download URL
uses: actions/download-artifact@v3
uses: actions/download-artifact@9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395 # v4
with:
name: artifacts
path: artifacts
Expand Down

0 comments on commit c871108

Please sign in to comment.