-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3549 from oasisprotocol/dependabot/github_actions…
…/docker/build-push-action-v2.2.1 ci: bump docker/build-push-action from v1 to v2.2.1
- Loading branch information
Showing
4 changed files
with
36 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ci: bump docker/build-push-action from v1 to v2.2.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dependencies: update bubblewrap to 0.4.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,25 +52,37 @@ jobs: | |
branch=pr-$(git describe --always --match '' --abbrev=7) | ||
fi | ||
branch=${branch//\//-} | ||
echo "##[set-output name=tag;]$(echo ${branch})" | ||
- name: "Rebuild oasisprotocol/oasis-core-dev:${{ steps.determine_tag.outputs.tag }}" | ||
uses: docker/build-push-action@v1 | ||
echo "::set-output name=tag::$(echo ${branch})" | ||
echo "::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')" | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | ||
repository: oasisprotocol/oasis-core-dev | ||
tags: ${{ steps.determine_tag.outputs.tag }} | ||
add_git_labels: true | ||
path: docker/development | ||
always_pull: true | ||
- name: "Rebuild oasisprotocol/oasis-core-dev:${{ steps.determine_tag.outputs.tag }}" | ||
uses: docker/[email protected] | ||
with: | ||
context: docker/development | ||
file: docker/development/Dockerfile | ||
tags: oasisprotocol/oasis-core-dev:${{ steps.determine_tag.outputs.tag }} | ||
pull: true | ||
push: true | ||
labels: | | ||
org.opencontainers.image.source=${{ github.event.repository.html_url }} | ||
org.opencontainers.image.created=${{ steps.determine_tag.outputs.created }} | ||
org.opencontainers.image.revision=${{ github.sha }} | ||
- name: "Rebuild oasisprotocol/oasis-core-ci:${{ steps.determine_tag.outputs.tag }}" | ||
uses: docker/build-push-action@v1 | ||
uses: docker/build-push-action@v2.2.1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | ||
repository: oasisprotocol/oasis-core-ci | ||
tags: ${{ steps.determine_tag.outputs.tag }} | ||
add_git_labels: true | ||
path: docker/testing | ||
build_args: OASIS_CORE_DEV_BASE_TAG=${{ steps.determine_tag.outputs.tag }} | ||
always_pull: true | ||
context: docker/testing | ||
file: docker/testing/Dockerfile | ||
tags: oasisprotocol/oasis-core-ci:${{ steps.determine_tag.outputs.tag }} | ||
pull: true | ||
push: true | ||
build-args: OASIS_CORE_DEV_BASE_TAG=${{ steps.determine_tag.outputs.tag }} | ||
labels: | | ||
org.opencontainers.image.source=${{ github.event.repository.html_url }} | ||
org.opencontainers.image.created=${{ steps.determine_tag.outputs.created }} | ||
org.opencontainers.image.revision=${{ github.sha }} |
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