chore(deps): bump browserify-sign from 4.2.1 to 4.2.3 in /packages/l2-contracts #150
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
release: | |
types: | |
- released | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set Docker Tag | |
id: docker-tag | |
if: ${{ github.event_name != 'release' }} | |
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)" | tee $GITHUB_ENV | |
- name: Set Docker Tag - Release | |
id: docker-tag-release | |
if: ${{ github.event_name == 'release' }} | |
run: echo "DOCKER_TAG=${GITHUB_SHA:0:7}-$(date +%s)-${GITHUB_REF#refs/tags/}" | tee $GITHUB_ENV | |
- name: Login to Docker Repository | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_REPO_USER }} | |
password: ${{ secrets.DOCKER_REPO_TOKEN }} | |
- | |
# Setting up Docker Buildx with docker-container driver is required | |
# at the moment to be able to use a subdirectory with Git context | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Docker Image Build | |
id: docker-build | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: docker/build-push-action@v4 | |
with: | |
context: "{{defaultContext}}:packages/gateway" | |
push: false | |
tags: consensys/linea-resolver:${{ env.DOCKER_TAG }} | |
- name: Docker Image Build and Publish | |
id: docker-build-publish | |
if: ${{ github.ref == 'refs/heads/develop' || startsWith(github.ref,'refs/tags/') }} | |
uses: docker/build-push-action@v4 | |
with: | |
context: "{{defaultContext}}:packages/gateway" | |
push: true | |
tags: consensys/linea-resolver:${{ env.DOCKER_TAG }} |