Sha256: 2e066cee0f27d449e11c26047739f01bd84fd7893790e2236cfa219d4dc75fca
Contents?: true
Size: 1020 Bytes
Versions: 3
Compression:
Stored size: 1020 Bytes
Contents
name: Push emasser to Docker Hub on every release on: release: types: [published] jobs: docker: runs-on: ubuntu-latest steps: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to DockerHub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run string replace uses: frabert/replace-string-action@master id: format-tag with: pattern: 'v' string: "${{ github.event.release.tag_name }}" replace-with: '' flags: 'g' - name: Checkout the emasser Repository uses: actions/checkout@v2 - name: Build and push id: docker_build uses: docker/build-push-action@v2 with: context: . file: Dockerfile push: true tags: mitre/emasser:release-latest,mitre/emasser:${{ steps.format-tag.outputs.replaced }}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
emasser-3.4.0 | .github/workflows/push-to-docker.yml |
emasser-1.0.6 | .github/workflows/push-to-docker.yml |
emasser-1.0.3 | .github/workflows/push-to-docker.yml |