Skip to content

Commit

Permalink
Merge pull request #13 from a-luna:update-gh-action-versions_20240129
Browse files Browse the repository at this point in the history
Update Docker and Dokku actions
  • Loading branch information
a-luna authored Jan 30, 2024
2 parents acaeb54 + a6abfb5 commit bea9acf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy_base64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to Github Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Bake svelte-base64 image and push to github container registry
uses: docker/bake-action@v3.1.0
uses: docker/bake-action@v4.1.0
with:
files: ./docker-bake.hcl
targets: base64
push: true
- name: Deploy svelte-base64 docker image to dokku
uses: dokku/github-action@master
uses: dokku/github-action@v1.4.0
with:
git_remote_url: 'ssh://dokku@${{ secrets.DOKKU_HOST }}:22/base64'
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy_portfolio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to Github Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Bake portfolio image and push to github container registry
uses: docker/bake-action@v3.1.0
uses: docker/bake-action@v4.1.0
env:
API_KEY: ${{ secrets.API_KEY }}
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
Expand All @@ -33,7 +33,7 @@ jobs:
targets: portfolio
push: true
- name: Deploy portfolio docker image to dokku
uses: dokku/github-action@master
uses: dokku/github-action@v1.4.0
with:
git_remote_url: 'ssh://dokku@${{ secrets.DOKKU_HOST }}:22/portfolio'
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
Expand Down

0 comments on commit bea9acf

Please sign in to comment.