Skip to content

Commit

Permalink
Update generate_bin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus authored Nov 15, 2023
1 parent 7969b38 commit 241496a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/generate_bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@ on:
jobs:
build:
name: Build Container
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: roxedus
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
install: true
version: latest
driver-opts: image=moby/buildkit:master

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
file: ./Dockerfile
load: true
cache-from: ghcr.io/roxedus/pgloader:cache
cache-to: ghcr.io/roxedus/pgloader:cache
tags: |
ghcr.io/roxedus/pgloader
ghcr.io/roxedus/pgloader:999791d
ghcr.io/roxedus/pgloader:ec8f41d
- name: Grab binary
run: |
Expand All @@ -48,6 +48,6 @@ jobs:
- uses: ncipollo/release-action@v1
with:
tag: "999791d"
tag: "ec8f41d"
artifacts: "bin/pgloader"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 241496a

Please sign in to comment.