Skip to content

Commit

Permalink
ci: update deps (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy authored Oct 19, 2022
1 parent 1469e09 commit 7ebe870
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,47 +9,47 @@ on:
jobs:
release:
name: Release Dash Network Deploy
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2

- name: Check package version matches tag
uses: geritol/match-tag-to-package-version@0.1.0
uses: geritol/match-tag-to-package-version@0.2.0
env:
TAG_PREFIX: refs/tags/v

- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
with:
version: v0.6.1
version: v0.9.1
install: true
driver-opts: image=moby/buildkit:buildx-stable-1

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set suffix to Docker tags
uses: actions/github-script@v3
uses: actions/github-script@v6
id: suffix
with:
result-encoding: string
script: "return (context.payload.release.tag_name.includes('-dev') ? '-dev' : '');"

- name: Set Docker tags and labels
id: docker_meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: dashpay/dash-network-deploy
tags: |
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Build and push Docker image
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit 7ebe870

Please sign in to comment.