Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Github Actions Versions (major) #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/action_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ jobs:
NOTES_VERSION: v1.7.0
steps:
- name: Checkout Dockerfiles and Context
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4.2.2

- name: Checkout Etesync Web Client
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: etesync/etesync-web.git
path: etesync-web
ref: ${{ env.CLIENT_VERSION }}

- name: Checkout Etesync Notes
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: etesync/etesync-notes.git
path: etesync-notes
ref: ${{ env.NOTES_VERSION }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '17'
cache: 'yarn'
Expand All @@ -62,7 +62,7 @@ jobs:
echo ::set-output name=tag::${TAG}

- id: docker_metadata
uses: docker/metadata-action@v4.1.1
uses: docker/metadata-action@v5.6.1
with:
labels: |
maintainer=victor-rds
Expand All @@ -76,22 +76,22 @@ jobs:

- name: Set up QEMU
if: contains(github.event.inputs.platforms, 'linux/arm')
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@v3.4.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.2.1
uses: docker/setup-buildx-action@v3.9.0

- name: Login to DockerHub
if: contains(github.event.inputs.pushit, 'true')
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Docker Build and Push
id: docker_build_push
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v6.14.0
with:
builder: ${{ steps.buildx.outputs.name }}
platforms: ${{ github.event.inputs.platforms }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/call_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ jobs:
NOTES_VERSION: ${{ inputs.notes_version }}
steps:
- name: Checkout Dockerfiles and Context
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4.2.2

- name: Checkout Etesync Web Client
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: etesync/etesync-web.git
path: etesync-web
ref: ${{ env.CLIENT_VERSION }}

- name: Checkout Etesync Notes
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: etesync/etesync-notes.git
path: etesync-notes
ref: ${{ env.NOTES_VERSION }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
Expand All @@ -75,7 +75,7 @@ jobs:
echo ::set-output name=tag::${TAG}

- id: docker_metadata_debian
uses: docker/metadata-action@v4.1.1
uses: docker/metadata-action@v5.6.1
with:
labels: |
maintainer=victor-rds
Expand All @@ -88,7 +88,7 @@ jobs:
type=raw,value=${{ steps.gen-tag.outputs.tag }}

- id: docker_metadata_alpine
uses: docker/metadata-action@v4.1.1
uses: docker/metadata-action@v5.6.1
with:
labels: |
maintainer=victor-rds
Expand All @@ -101,20 +101,20 @@ jobs:

- name: Set up QEMU
if: contains(inputs.platforms, 'linux/arm')
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@v3.4.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.2.1
uses: docker/setup-buildx-action@v3.9.0

- name: Login to DockerHub
if: inputs.pushit
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.dckr_username }}
password: ${{ secrets.dckr_token }}

- uses: docker/build-push-action@v3.2.0
- uses: docker/build-push-action@v6.14.0
if: always()
with:
builder: ${{ steps.buildx.outputs.name }}
Expand All @@ -128,7 +128,7 @@ jobs:
labels: ${{ steps.docker_metadata_debian.outputs.labels }}
push: ${{ inputs.pushit }}

- uses: docker/build-push-action@v3.2.0
- uses: docker/build-push-action@v6.14.0
if: always()
with:
builder: ${{ steps.buildx.outputs.name }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/master_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Dockerfiles and Context
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4.2.2

- id: docker_metadata
uses: docker/metadata-action@v4.1.1
uses: docker/metadata-action@v5.6.1
with:
labels: |
maintainer=victor-rds
Expand All @@ -35,22 +35,22 @@ jobs:

- name: Set up QEMU
if: contains(github.event.inputs.platforms, 'linux/arm')
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@v3.4.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.2.1
uses: docker/setup-buildx-action@v3.9.0

- name: Login to DockerHub
if: contains(github.event.inputs.pushit, 'true')
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Docker Build and Push
id: docker_build_push
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v6.14.0
with:
builder: ${{ steps.buildx.outputs.name }}
platforms: ${{ github.event.inputs.platforms }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/stable_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
NOTES_VERSION: v1.7.0
steps:
- name: Checkout Dockerfiles and Context
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4.2.2

- id: gen-tag
shell: bash
Expand All @@ -32,7 +32,7 @@ jobs:
echo ::set-output name=tag::${TAG}

- id: docker_metadata
uses: docker/metadata-action@v4.1.1
uses: docker/metadata-action@v5.6.1
with:
labels: |
maintainer=victor-rds
Expand All @@ -46,22 +46,22 @@ jobs:

- name: Set up QEMU
if: contains(github.event.inputs.platforms, 'linux/arm')
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@v3.4.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.2.1
uses: docker/setup-buildx-action@v3.9.0

- name: Login to DockerHub
if: contains(github.event.inputs.pushit, 'true')
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Docker Build and Push
id: docker_build_push
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v6.14.0
with:
builder: ${{ steps.buildx.outputs.name }}
platforms: ${{ github.event.inputs.platforms }}
Expand Down