Skip to content

Commit

Permalink
deps(workflow): update github actions to newest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Nov 3, 2022
1 parent 435f967 commit 7e47df1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-and-update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
server_repo_ref: ${{ steps.dotenv.outputs.jm_server_repo_ref }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Read .env file
id: dotenv
uses: falti/dotenv-action@v0.2.7
uses: falti/dotenv-action@v1.0.0
with:
log-variables: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-and-publish-docker-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
server_repo_ref: ${{ steps.dotenv.outputs.jm_server_repo_ref }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Read .env file
id: dotenv
uses: falti/dotenv-action@v0.2.7
uses: falti/dotenv-action@v1.0.0
with:
log-variables: true

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/create-and-publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
required: true
type: string
ui_repo_ref:
description: 'ui version/branch (e.g. v0.0.10, master, etc.)'
description: 'ui version/branch (e.g. v0.1.1, master, etc.)'
required: true
type: string
server_repo_ref:
description: 'server version/branch (e.g. v0.9.6, master, etc.)'
description: 'server version/branch (e.g. v0.9.8, master, etc.)'
required: true
type: string
image_name_prefix:
Expand All @@ -34,35 +34,35 @@ jobs:
context: [ui-only,standalone]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1.2.0
uses: docker/setup-qemu-action@v2.1.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1.6.0
uses: docker/setup-buildx-action@v2.2.1
with:
install: true

- name: Log in to the Container registry
uses: docker/login-action@v1.12.0
uses: docker/login-action@v2.1.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3.6.2
uses: docker/metadata-action@v4.1.1
with:
images: ${{ env.REGISTRY }}/${{ inputs.image_name_prefix }}${{ matrix.context }}
labels: |
org.opencontainers.image.title=jam-${{ matrix.context }}
org.opencontainers.image.version=${{ inputs.version }}
- name: Build and push Docker image for ${{ matrix.context }}
uses: docker/build-push-action@v2.8.0
uses: docker/build-push-action@v3.2.0
with:
context: ./${{ matrix.context }}
platforms: linux/amd64,linux/arm64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dependency-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Parse the repo url (e.g. "https://github.com/bitcoin/bips") and extract:
# - the full repo name (e.g. "bitcoin/bips")
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
RELEASE_TAG: ${{ steps.versions.outputs.release_tag }}
NAME: ${{ steps.repoinfo.outputs.name_short }}
LINK: ${{ inputs.repo_url }}
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
add-paths: .env
branch: ${{ env.NAME }}-updates
Expand Down

0 comments on commit 7e47df1

Please sign in to comment.