Skip to content

Commit

Permalink
Fix GHA release docker image tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
srstsavage authored Jan 2, 2022
1 parent cd2a90d commit f84b8d2
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ env:
CACHE_KEY: docker-erddap-buildx-tag-

jobs:
debug:
name: Debug
runs-on: ubuntu-latest
steps:
- name: Dump env
run: env | sort
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

build:
name: Build and test Docker Image
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -78,8 +67,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
buildkitd-flags: --debug

- name: Cache Docker layers
uses: actions/cache@v2
Expand All @@ -99,6 +86,6 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ github.event.release.tag_name }}
tags: axiom/docker-erddap:${{ github.event.release.tag_name }}
cache-from: type=local,src=${ BUILDX_CACHE }
cache-to: type=local,dest=${ BUILDX_CACHE }

0 comments on commit f84b8d2

Please sign in to comment.